Re: founditems and setheader
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33127
interpreted = N
texte = >Hey now! I'm getting myself all tangled here. I have a customer.db>which I need to read and put the data into a cart. Should I make>sure the field names are different than the standard card header>names?>>This looks weird to me:>>[search db=customers.db&eqUserdata=[username]]>[founditems]> [setheader>db=prdoucts.db&cart=[cart]]name=[name]&company=[company]&etc.][/sethea>der]>[/founditems]Shouldn't be a problem the way you've arranged it. WebDNA always looks from 'inside' the closest context for values, so when it sees [company] it climbs out the nesting until it bumps into [founditems], which is the first context that 'knows' a value for [company].See http://www.smithmicro.com/webcatreference/Contexts.htmlTechnical Support **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive, #380 | -------------------------San Diego, CA 92127 | Software & Site DevelopmentWebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>Hey now! I'm getting myself all tangled here. I have a customer.db>which I need to read and put the data into a cart. Should I make>sure the field names are different than the standard card header>names?>>This looks weird to me:>>[search db=customers.db&eqUserdata=[username]]>[founditems]> [setheader>db=prdoucts.db&cart=[cart]]name=[name]&company=[company]&etc.][/sethea>der]>[/founditems]Shouldn't be a problem the way you've arranged it. WebDNA always looks from 'inside' the closest context for values, so when it sees [company] it climbs out the nesting until it bumps into [founditems], which is the first context that 'knows' a value for [company].See http://www.smithmicro.com/webcatreference/Contexts.htmlTechnical Support **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive, #380 | -------------------------San Diego, CA 92127 | Software & Site DevelopmentWebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
WebDNA Support
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:
syntax question, not in online refernce (1997)
"top" Clarification ( for apache ) (2008)
database size? (1997)
form data submission gets truncated (1997)
Invisible files (2002)
Generating Report Totals (1997)
Classified Ads 4 Sale (1998)
Size issues (2001)
search form problem.. (1997)
Problems with [Applescript] (1997)
Math Function (1997)
slow site (2003)
WebCat2 - Getting to the browser's username/password data (1997)
WebCat2.0 acgi vs plugin (1997)
[WebDNA] Linux Support (2013)
Mail Server Needed. (1998)
Re:[ShowIf] and empty fields (1997)
100% CPU (2003)
RePost: NAT and the CART (1999)
Resume Catalog ? (1997)