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 partially nested. I didn't know whether or not you programmed WebCat2 to interpert certain contexts before others, in other words giving them a 'preference' so to speak ... or if you used another framework for interpreting these tags.>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 several other [showif] contexts on the page, but thanks, I'll see what I can do. In this 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.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Associated Messages, from the most recent to the oldest:

    
  1. Re: WebCat2b12 - nesting [tags] (Kenneth Grome 1997)
  2. Re: WebCat2b12 - nesting [tags] (Grant Hulbert 1997)
  3. WebCat2b12 - nesting [tags] (Kenneth Grome 1997)
>>[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 partially nested. I didn't know whether or not you programmed WebCat2 to interpert certain contexts before others, in other words giving them a 'preference' so to speak ... or if you used another framework for interpreting these tags.>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 several other [showif] contexts on the page, but thanks, I'll see what I can do. In this 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.com with BODY unsubscribe 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)