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:

frames & carts (1997) [format 40s]text[/format] doesn't work (1997) WebCat2 as a chat server? (1997) Re:Variable Math (1998) Euro WebDNA Conference (2004) Original httpd.conf for OS X 10.3.9? (2005) date sorting and 'template (1997) Up and running ... at last !! (1997) Items XX to XX shown (1997) dollar $ signs in database (2000) duplicate cart numbers - New P3P Rule (2002) Searching/sorting dates (1997) Displaying photo attached to first record (1997) 911: testing if the field is empty (2000) WebCommerce: Folder organization ? (1997) Sorting... stumped. (2006) Emailer Set Up (1997) [OT] Am I an Idiot? (2004) Stumpted Again (1997) Webcat Memory use??? (2004)