Re: WebCat2b12 - nesting [tags]
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10429
interpreted = N
texte = >>[showif [link]=browse][search db=xxx?parametersHere][/showif]>>This is an example of imperfect nesting, which is definitely not allowed.Right, the [search] context is not completely nested, it's only partiallynested. I didn't know whether or not you programmed WebCat2 to interpertcertain contexts before others, in other words giving them a 'preference'so to speak ... or if you used another framework for interpreting thesetags.>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]My form is actually a very complex form as it is, since I have severalother [showif] contexts on the page, but thanks, I'll see what I can do. Inthis case I think it's going to be easier to just do a whole separate form...Sincerely,Ken------------------------------------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.Right, the
[search] context is not completely nested, it's only partiallynested. I didn't know whether or not you programmed WebCat2 to interpertcertain contexts before others, in other words giving them a 'preference'so to speak ... or if you used another framework for interpreting thesetags.>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]My form is actually a very complex form as it is, since I have severalother
[showif] contexts on the page, but thanks, I'll see what I can do. Inthis case I think it's going to be easier to just do a whole separate form...Sincerely,Ken------------------------------------To leave this
Talk List send an email to macjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
Kenneth Grome
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:
How flexible is Shipping? (1997)
[WebDNA] User sessions - cookies only or cookies and a (2016)
[protect] and identification (2008)
Extended [ConvertChars] (1997)
Sort Order on a page search (1997)
Time for a hard questions. (1997)
How to download a database???/ (2000)
OT: Where to turn (2003)
WCS Newbie question (1997)
Calculating Shipping (1997)
SpiderBotLock! (2003)
Banner ads (2000)
Nesting FoundItem Context (1997)
Comments in db? (1997)
Displaying raw values (1998)
[OT] Indexing of dynamic web sites (2003)
OT- OSX / OSX Server... (2004)
Searchable mail archive problems (2003)
Enhanced Master Counter? (1997)
RAM variables (1997)