Re: Displaying raw values

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18497
interpreted = N
texte = >>It seems to be inherently *wrong* to make a tag-interpreting software like >>WebCatalog display the raw [tag] when there doesn't happen to be any value >>set for that tag.I just had to do the exact same thing. It was for 45 keywords, and I did a [search db=xxx.db&wofielddata=[showif [key1]![raw][key1][/raw]][key1][/showif] [showif [key2]![raw][key2][/raw]][key2][/showif] [showif etc. 45 timesAnd the same chunk for the wa search parameter, and for the Your search of [keywords] found [numfound]. Sure seemed like unwieldy code.How about a context like [hideunusedtags][/hideunusedtags] to wrap around whole chunks of problematic code like the above? Then we still get the troubleshooting ability everywhere else.Terry Wilson terryw@rainbowcreek.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Displaying raw values (Kenneth Grome 1998)
  2. Re: Displaying raw values (Terry Wilson 1998)
  3. Re: Displaying raw values (long) (Jeremy Pocock 1998)
  4. Re: Displaying raw values (long) (Kenneth Grome 1998)
  5. Re: Displaying raw values (long) (Marty Schmid 1998)
  6. Displaying raw values (long) (Kenneth Grome 1998)
>>It seems to be inherently *wrong* to make a tag-interpreting software like >>WebCatalog display the raw [tag] when there doesn't happen to be any value >>set for that tag.I just had to do the exact same thing. It was for 45 keywords, and I did a [search db=xxx.db&wofielddata=[showif [key1]![raw][key1][/raw]][key1][/showif] [showif [key2]![raw][key2][/raw]][key2][/showif] [showif etc. 45 timesAnd the same chunk for the wa search parameter, and for the Your search of [keywords] found [numfound]. Sure seemed like unwieldy code.How about a context like [hideunusedtags][/hideunusedtags] to wrap around whole chunks of problematic code like the above? Then we still get the troubleshooting ability everywhere else.Terry Wilson terryw@rainbowcreek.com Terry Wilson

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:

Mozilla/4. and Browser Info.txt (1997) founditems (1998) How To (2003) - selectable size to an ecommerce app? (2000) HomePage Caution (1997) Math Help (2000) Summing fields (1997) Whats wrong with this code? (1998) [WebDNA] Format Days_To_Date (2008) more on quicktime test stuff (1997) Error 551 (2000) filemaker - orderfile (1997) IIS Brain Dead (1998) Upgrade to WebCat2 from Commerce Lite (1997) Bad dates/times on a Windows server? (2002) encryption madness (2003) F3 crashing server (1997) NT considerations (1997) Emailer setup (1997) WC2/Mac -- Forms not submitting correctly with Mac browsers (1997)