Re: [/application] error?
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11577
interpreted = N
texte = >>I found the error (I spelled search like this - seach), and I also learned>>that WebDNA apparently performs the showif/hideif stuff before it tries to>>interpret any of the other WebDNA tags and contexts ... is this correct?>>No. There is nothing special about showif/hideif in the order of>interpretation.Okay ... because I put this in one of my templates and it seems to workfine ...[search db=control.db&[hideif [master]=change]ne[/hideif][showif[master]=change]eq[/showif]userdatarq=randy&numtype=num&asnumsort=1]... but if you don't think I can rely on this technique to work all thetime, then I will watch out.Oh, maybe it works fine because the showif/hideif's are inside the[search], so they are actually forced to be evaluated first ... becauseenclosed tags and contexts are evaluated before their enclosing contexts?Would this be the reason it works?Sincerely, Ken Grome ..... ken@iav.comhttp://usarea.net/home.html
Associated Messages, from the most recent to the oldest:
>>I found the error (I spelled search like this - seach), and I also learned>>that WebDNA apparently performs the showif/hideif stuff before it tries to>>interpret any of the other WebDNA tags and contexts ... is this correct?>>No. There is nothing special about showif/hideif in the order of>interpretation.Okay ... because I put this in one of my templates and it seems to workfine ...[search db=control.db&[hideif [master]=change]ne[/hideif][showif[master]=change]eq[/showif]userdatarq=randy&numtype=num&asnumsort=1]... but if you don't think I can rely on this technique to work all thetime, then I will watch out.Oh, maybe it works fine because the showif/hideif's are inside the
[search], so they are actually forced to be evaluated first ... becauseenclosed tags and contexts are evaluated before their enclosing contexts?Would this be the reason it works?Sincerely, Ken Grome ..... ken@iav.comhttp://usarea.net/home.html
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:
Checkboxes (1997)
Nested vs conditional (1997)
[TaxableTotal] - not working with AOL and IE (1997)
question: webmerchant connection (1997)
Search in 2 or more catalogs (1997)
Sendmail & Time Issue (2001)
[UPPERCASE] (1997)
IRC Channel (2003)
(1997)
Emailer setup (1997)
[WriteFile] problems (1997)
Date search and sendmail (1997)
Summing fields (1997)
Some Questions (1997)
oops private message leaked into talk list (1997)
emailer (1997)
WC2b15 File Corruption (1997)
WebCat2b12plugin - [search] is broken ... not! (1997)
[WebDNA] Image resizing on the fly (2012)
OT: bulletin board spell check (2001)