Re: headers
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 29840
interpreted = N
texte = I thogth about the form problem.And came up with this:Now my first page IS a form taht gos to a middle page which only hasthis in it:[setheader db=/db/prod.db&cart=[cart]]header11=[size][/setheader][setheader db=/db/prod.db&cart=[cart]]header12=[color][/setheader][Redirect shopcart.tpl?command=add&cart=[cart]&db=.......&sku=[url][sku][/url]]it's not very slow and it works perfect.thank you again.On Fri, 31 Mar 2000 kalin@el.net wrote:> i thougth so> Thank you for answering.> > On Fri, 31 Mar 2000, Mike Davis wrote:> > > You have to interact with the server in order to use the WebDNA language.> > Once the page is loaded on the client end, Webcat has done it's magic and> > the page is simply a static page as far as the browser is concerned. You> > can't have Webcat do anything with your pulldown menu unless the form it's> > in is submitted to the server. So, no, you can't set headers on a page by> > selecting a pulldown menu without actually submitting the form so that the> > server has access to the variables. A solution might be to have a separate> > form on the page that selects your size element and submits back to itself,> > in which case Webcat would be able to set a header before sending the page> > back to your browser.> > > > > sorry i maigth forgot to write something very importanat:> > > the pulldown AND the script are on the same page.> > > Its basicly the page before the shoping cart page where the user is> > > offered to choose from a pulldown different options. There is no form> > > excecuted anywhere and the only link to the next page is the add> > > command. I'd like to have the option to append the selection to the> > > shopping cart db and pass it on the shoping cart.> > > if this isn't possible in WC using headers do you have any segestions.> > > Thank you.> > > > > > On Fri, 31 Mar 2000 kalin@el.net wrote:> > > > > >> i was thinking that this [NameOfPulldown] is a tag.> > >> i tryed that before writing to the WC talk - putting the name of the> > >> pulldown in the header:> > >> [setheader db......]headr11=[sizes][/setheader]> > >> the pulldown is called sizes. It's not working for me. Help.> > >> thanks> > >> > > >> On Fri, 31 Mar 2000 kalin@el.net wrote:> > >> > > >>> thank you, Mike.> > >>> i was looking into the index of tags and at a glance display of tags> > >>> on the reference page for something like that but there is none there.> > >>> Where can i find new tags or how can i get a list of the ones that are not> > >>> there (on the reference page)?> > >>> thanks again.> > >>> > > >>> On Fri, 31 Mar 2000, Mike Davis wrote:> > >>> > > >>>> on 3/31/2000 12:29 PM, kalin@el.net at kalin@el.net wrote:> > >>>> > > >>>>> Hi everybody> > >>>>> Quick question:> > >>>>> How can i put the selected value - the one selected by the user (i don't> > >>>>> know which one in advence) - from a pulldown into a header tag that i> > >>>>> can use on the next page-shoppingcart.tpl? Is it possible to do that?> > >>>>> thanks> > >>>> > > >>>> Put [NameOfPulldown] in your header.> > >>>> > > >>>> > > >>>> Mike> > >>>> > > >>>> > > > > > > -------------------------------------------------------------> > This message is sent to you because you are subscribed to> > the mailing list
.> > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
I thogth about the form problem.And came up with this:Now my first page IS a form taht gos to a middle page which only hasthis in it:[setheader db=/db/prod.db&cart=[cart]]header11=[size][/setheader][setheader db=/db/prod.db&cart=[cart]]header12=[color][/setheader][Redirect shopcart.tpl?command=add&cart=[cart]&db=.......&sku=[url][sku][/url]]it's not very slow and it works perfect.thank you again.On Fri, 31 Mar 2000 kalin@el.net wrote:> i thougth so> Thank you for answering.> > On Fri, 31 Mar 2000, Mike Davis wrote:> > > You have to interact with the server in order to use the WebDNA language.> > Once the page is loaded on the client end, Webcat has done it's magic and> > the page is simply a static page as far as the browser is concerned. You> > can't have Webcat do anything with your pulldown menu unless the form it's> > in is submitted to the server. So, no, you can't set headers on a page by> > selecting a pulldown menu without actually submitting the form so that the> > server has access to the variables. A solution might be to have a separate> > form on the page that selects your size element and submits back to itself,> > in which case Webcat would be able to set a header before sending the page> > back to your browser.> > > > > sorry i maigth forgot to write something very importanat:> > > the pulldown AND the script are on the same page.> > > Its basicly the page before the shoping cart page where the user is> > > offered to choose from a pulldown different options. There is no form> > > excecuted anywhere and the only link to the next page is the add> > > command. I'd like to have the option to append the selection to the> > > shopping cart db and pass it on the shoping cart.> > > if this isn't possible in WC using headers do you have any segestions.> > > Thank you.> > > > > > On Fri, 31 Mar 2000 kalin@el.net wrote:> > > > > >> i was thinking that this [NameOfPulldown] is a tag.> > >> i tryed that before writing to the WC talk - putting the name of the> > >> pulldown in the header:> > >> [setheader db......]headr11=[sizes][/setheader]> > >> the pulldown is called sizes. It's not working for me. Help.> > >> thanks> > >> > > >> On Fri, 31 Mar 2000 kalin@el.net wrote:> > >> > > >>> thank you, Mike.> > >>> i was looking into the index of tags and at a glance display of tags> > >>> on the reference page for something like that but there is none there.> > >>> Where can i find new tags or how can i get a list of the ones that are not> > >>> there (on the reference page)?> > >>> thanks again.> > >>> > > >>> On Fri, 31 Mar 2000, Mike Davis wrote:> > >>> > > >>>> on 3/31/2000 12:29 PM, kalin@el.net at kalin@el.net wrote:> > >>>> > > >>>>> Hi everybody> > >>>>> Quick question:> > >>>>> How can i put the selected value - the one selected by the user (i don't> > >>>>> know which one in advence) - from a pulldown into a header tag that i> > >>>>> can use on the next page-shoppingcart.tpl? Is it possible to do that?> > >>>>> thanks> > >>>> > > >>>> Put [NameOfPulldown] in your header.> > >>>> > > >>>> > > >>>> Mike> > >>>> > > >>>> > > > > > > -------------------------------------------------------------> > This message is sent to you because you are subscribed to> > the mailing list .> > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
kalin@el.net
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
DataBaseHelper Flawed (1997)
Upload Progress Bar (2003)
Erotic Sites (1997)
Next (1997)
[SearchString] usage (1997)
Can't load tmpl files (1997)
RE: includes and cart numbers (1997)
Getting total number of items ordered (1997)
RE: AccountAuthorizer doesn't seem to work (1997)
WebCat2b13MacPlugIn - [include] (1997)
Calculating multiple shipping... (1997)
Purchased cart being overwritten (1997)
SKU Question (1999)
Greeting Card System (2000)
Followup question re: checksum for credit cards? (1997)
WebCat2b15MacPlugin - showing [math] (1997)
ThreadMem ignored? (1998)
PROBLEM (1997)
Showif Question (2001)
Hairy Shipping Monster (2006)