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:
Generating Report Totals (1997)
Pull down menu for categories (2000)
Generating Options for a Form. (1997)
show all problem (1997)
Re:Emailer tracking (1997)
Calendar using WebCatalog? (1997)
mailto: tag (2001)
Emailer help....! (1997)
Frames and WebCat (1997)
problems with 2 tags (1997)
[WebDNA] Good advise on [Showif] or alternative... (2012)
setting taxable to true (1997)
form data submission gets truncated (1997)
WebCatalog Technical Reference (1997)
[WebDNA] =?windows-1252?Q?Re=3A_=5BWebDNA=5D_WebDNA=3A_Could_not_establis?= (2012)
Some Questions (1997)
problems with 2 tags (1997)
Tax and Shipping Examples (1997)
Dr.Watson Error (1999)
Nested vs conditional (1997)