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 work fine ...[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 the time, 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 ... because enclosed tags and contexts are evaluated before their enclosing contexts?Would this be the reason it works?Sincerely, Ken Grome ..... ken@iav.com http://usarea.net/home.html Associated Messages, from the most recent to the oldest:

    
  1. Re: [/application] error? (Grant Hulbert 1997)
  2. Re: [/application] error? (Kenneth Grome 1997)
  3. Re: [/application] error? (Grant Hulbert 1997)
  4. Re: [/application] error? (Kenneth Grome 1997)
  5. Re: [/application] error? (Grant Hulbert 1997)
  6. [/application] error? (Kenneth Grome 1997)
>>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 work fine ...[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 the time, 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 ... because enclosed tags and contexts are evaluated before their enclosing contexts?Would this be the reason it works?Sincerely, Ken Grome ..... ken@iav.com http://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)