Re: WebCat2b12 - nesting [tags]
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10423
interpreted = N
texte = >[showif [link]=browse][search db=xxx?parametersHere][/showif]This is an example of imperfect nesting, which is definitely not allowed. It's because ShowIf itself can have other complex embedded WebDNA in it (including other ShowIfs), so there is no way to know what to do 'first'.I suggest the following instead:[showif [link]=browse][include searchstuff][/showif][showif [link]!browse][include nonsearchstuff][/showif]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 to macjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
Associated Messages, from the most recent to the oldest:
>[showif [link]=browse][search db=xxx?parametersHere][/showif]This is an example of imperfect nesting, which is definitely not allowed. It's because ShowIf itself can have other complex embedded WebDNA in it (including other ShowIfs), so there is no way to know what to do 'first'.I suggest the following instead:[showif [link]=browse][include searchstuff][/showif][showif [link]!browse][include nonsearchstuff][/showif]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 to macjordomo@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:
[WAY OFF TOPIC] anybody live in Kansas? (2003)
The future of WebCatalog is coming with 4.0... (2000)
Hello??? (1997)
Tiny Store (1998)
& not allowed in db by definition? (1999)
Problems with [Applescript] (1997)
New Web Site Developers Database (1996)
help needed w/ search params (1998)
emailer error 103 part ii (1997)
Newbie from and old bee (1997)
Hosts who have upgraded to v5.0? (2003)
finding child records of child records of child records... with minimal code (2000)
target=_blank and form variables (1997)
SQL newbie (2002)
database problem=thanks (2003)
Tool of Use to Unix WebCat Admins (2000)
select multiple (1997)
Major Security Hole IIS NT (1998)
Text limits in NT version? (1997)
Pop-up menu (1998)