Re: [switch] platform specific bug???
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52356
interpreted = N
texte = on 8/20/2003 12:03 pm, Donovan at dbrooke@euca.us so noted...> [switch value=[var]]> [default]> Content> [/default]> [case value=1]> content1> [/case]> [case value=2]> content2> [/case]> [/switch]> > I am getting "Content" when hitting with value of> [var] being "[var]"> ... expected.> > However I am getting:> "Content content1"> with value of> [var] being "1"> > Default has always worked (not shown when another case value> is present).I get the same thing with Apache under OS X.It looks like order matters. Put [default] last, after all the other [case]statements. That fixes it up.Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
on 8/20/2003 12:03 pm, Donovan at dbrooke@euca.us so noted...> [switch value=[var]]> [default]> Content> [/default]> [case value=1]> content1> [/case]> [case value=2]> content2> [/case]> [/switch]> > I am getting "Content" when hitting with value of> [var] being "[var]"> ... expected.> > However I am getting:> "Content content1"> with value of> [var] being "1"> > Default has always worked (not shown when another case value> is present).I get the same thing with Apache under OS X.It looks like order matters. Put [default] last, after all the other [case]statements. That fixes it up.Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Rob Marquardt
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:
RE: Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997)
Fun with Dates - revisited (1997)
emailer (1997)
[WebDNA] test (2017)
Support ?? (1997)
possible, WebCat2.0 and checkboxes-restated (1997)
latest version? (1998)
Smart caching problems with 2.1b3? (1997)
HTML encoding in URLs (1997)
Error Log.db --however (1997)
Separate SSL Server (1997)
Showif, Hideif reverse logic ? (1997)
MacWEEK article help needed (1996)
[/application] error? (1997)
greater than or equal to (1997)
UPDATE PROBLEM (1997)
Separate SSL Server (1997)
WebCat2 - [format thousands] (1997)
Summing fields (1997)
[WebDNA] Can WebDNA corrupt a db? (2012)