WebCat2b12 - nesting [tags]
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10420
interpreted = N
texte = Hi Grant,I wanted to use a single results template for all my searches in aparticular database, but sometimes I want to begin the search on a searchform page, and other times I want to perform the entire search in a[search] context which appears on the results template.I thought I could do this according to the following results templateexample, but it doesn't work:[showif [link]=browse][search db=xxx?parametersHere][/showif]text of results page ...[founditems][/founditems]more text of results page[showif [link]=browse][/search][/showif]This doesn't work, and the results template shows an Error: expected[/search] but found [/showif].This apparently indicates that I cannot place a [/showif] tag inside the[search] context because [search] has precedence over the [showif] contextswhen being interpreted in the template. I actually thought the [showif]contexts would be intrepreted first, but I guess I was wrong.Why wouldn't the [showif] contexts be interpreted first? Can you think ofany way for me to do what I want to do here?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:
Hi Grant,I wanted to use a single results template for all my searches in aparticular database, but sometimes I want to begin the search on a searchform page, and other times I want to perform the entire search in a
[search] context which appears on the results template.I thought I could do this according to the following results templateexample, but it doesn't work:[showif [link]=browse][search db=xxx?parametersHere][/showif]text of results page ...
[founditems][/founditems]more text of results page[showif [link]=browse][/search][/showif]This doesn't work, and the results template shows an Error: expected[/search] but found [/showif].This apparently indicates that I cannot place a [/showif] tag inside the
[search] context because
[search] has precedence over the
[showif] contextswhen being interpreted in the template. I actually thought the
[showif]contexts would be intrepreted first, but I guess I was wrong.Why wouldn't the
[showif] contexts be interpreted first? Can you think ofany way for me to do what I want to do here?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:
[WebDNA] The Single-Vendor Commercial Open Source Business Model for WebDNA (2012)
Shownext - am i missing something? (1998)
Images generated by a web dna database (2003)
How true is this? (1999)
Showing Results Alphabetically in Columns (top to bottom) (2002)
RAM to disk - well correction. (2002)
So when do we get something similar? (1998)
[listfields] on Mac OS w/WC 3.x (2001)
Images in WebCat (2000)
Sendmail html/text problem (2003)
[WebDNA] Authorize.net (2014)
Referrer field to header field conversion (1997)
Hideifs / Showifs (2000)
Any way to retrieve information from clipboard? (1999)
Review comparison by PC Magazine: Open for On-line Business (1997)
webcat plugin issue (2001)
Digest for 4/18/97 (1997)
[searchString] (1997)
Never ending problem.... (2000)
Help with Repost Data msg from form (1997)