Re: 2.0Beta Command Ref (can't find this instruction)
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10488
interpreted = N
texte = >It took the [founditems] to make it work. But using the sample templates>from classified ads as a model. The validator.tmpl has the [replace blah>blah] with no [founditems] in site. Operating under the impression that>[founditems] was only needed if I wanted to display the results not change>in background.The key difference here is that in the classifieds demo the replace is only changing one record. If you want to replace a whole bunch of records WITH THE EXACT SAME VALUE you can use replace alone. But if you want to loop thru a bunch of records and change something to a different value for each one, you should put the replace inside of a founditems loop.Grant Hulbert, V.P. Engineering | Tools for WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMasterSan Diego, CA 92128 |619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com------------------------------------To leave this talk list send an email tomacjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
Associated Messages, from the most recent to the oldest:
>It took the
[founditems] to make it work. But using the sample templates>from classified ads as a model. The validator.tmpl has the [replace blah>blah] with no
[founditems] in site. Operating under the impression that>
[founditems] was only needed if I wanted to display the results not change>in background.The key difference here is that in the classifieds demo the replace is only changing one record. If you want to replace a whole bunch of records WITH THE EXACT SAME VALUE you can use replace alone. But if you want to loop thru a bunch of records and change something to a different value for each one, you should put the replace inside of a founditems loop.Grant Hulbert, V.P. Engineering | Tools for WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMasterSan Diego, CA 92128 |619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com------------------------------------To leave this
Talk List send an email tomacjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
Grant Hulbert
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:
Database wiped clean (2005)
info (1997)
Grant, please help me ... (1997)
send mail problem? (1997)
Help! WebCat2 bug (1997)
[format xs] freeze (1997)
[WebDNA] opinions on [switch] [case]... (2009)
[tcp connect] (1998)
PCS Frames (1997)
Is [thisurl] http or https? (1998)
WebCatalog (1999)
Upcoming 2.1 Release and PCS Committment (1997)
math a various prices (1997)
More on the email templates (1997)
2.1 release (1998)
date tag not interpreted (2000)
Calendar using WebCatalog? (1997)
Help! WebCat2 bug (1997)
tabs as delimiters (2004)
search form problem.. (1997)