Re: founditems and setheader
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33128
interpreted = N
texte = thanks for clarifying!WebDNA Support wrote:> >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.html>> Technical Support **********************************> Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)> 16855 West Bernardo Drive, #380 | -------------------------> San Diego, CA 92127 | Software & Site Development> WebCatalog 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:
thanks for clarifying!WebDNA Support wrote:> >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.html>> Technical Support **********************************> Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)> 16855 West Bernardo Drive, #380 | -------------------------> San Diego, CA 92127 | Software & Site Development> WebCatalog 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/
John Butler
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:
all db's in one folder and protected (1998)
Viewing old carts (was FEW QUESTIONS) (1997)
List Name Change (2002)
[math] variable question (1997)
Country & Ship-to address & other fields ? (1997)
Nested tags count question (1997)
Location of Browser Info.txt file (1997)
list and stuff... (2004)
Running 2 two WebCatalog.acgi's (1996)
shipcost (1997)
Next X hits (1996)
Error:Too many nested [xxx] contexts (1997)
emailer (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
WebDNA or WebCatalog4.0.2 on Redhat 7.3 System (2003)
problems with 2 tags shakur (1997)
Smart caching problems with 2.1b3? (1997)
[WebDNA] How to create a MD5 hash & decrypt it (2011)
Simple way to create unique SKU (1997)
[WebDNA] [replacefounditems] fails (2009)