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 WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San 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.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. 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 WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San 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.com with BODY unsubscribe 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:

Sending E-mail (1997) Beta 3.0.3 fix for serial# problem (Mac) (1998) Forumulas.db & Variables (2002) WebCat2b15MacPlugin - showing [math] (1997) Unix DB Permission Error (2002) A question on sub-categories (1997) Nav. 4 probs with cart (1997) Not really WebCat - need HTML Grider (1997) Nesting [RAW] (1998) More help for discount pricing (1998) Form Validation (2000) Field name-subcategory (1997) Version f1 status (1997) 5.0 Pricing (2003) [math] and ceil (2004) Part Html part WebDNA (1997) Country & Ship-to address & other fields ? (1997) WebCatalog Q & A pages (1997) Images (2003) appending to my last post (1999)