Re: [Switch] - works great, suggestion
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32252
interpreted = N
texte = Then how are you doing it for [showif] and [hideif]? How about adding a comparison type to [Switch], e.g. [Switch value=[getmimeheader Host]&compare=~]
Hmmm???John PeacockGHulbert@smithmicro.com wrote:> > >[Switch] - works great. Suggestion for [Switch] context: allow all> >string tests currently allowed by [showif], i.e. [case value^test2] or> >[case value~www].> > Probably won't happen: the syntax for XML-style (and even classic,> for that matter) is , and that = is a> hard-coded component of XML. DreamWeaver wouldn't be able to handle> it if the equals sign changed to something else.> > Grant Hulbert, Director of Engineering **********************************> Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)> 16855 West Bernardo Drive, #380 | -------------------------> San Diego, CA 92127 | Software & Site Development> Main Line: (858) 675-1106 | http://www.smithmicro.com> Fax: (858) 675-0372 **********************************> > #############################################################> 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 > To switch to the INDEX mode, E-mail to > Send administrative queries to #############################################################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 To switch to the INDEX mode, E-mail to Send administrative queries to
Associated Messages, from the most recent to the oldest:
Then how are you doing it for [showif] and [hideif]? How about adding a comparison type to [switch], e.g. [Switch value=[getmimeheader Host]&compare=~] Hmmm???John PeacockGHulbert@smithmicro.com wrote:> > >[switch] - works great. Suggestion for [switch] context: allow all> >string tests currently allowed by [showif], i.e. [case value^test2] or> >[case value~www].> > Probably won't happen: the syntax for XML-style (and even classic,> for that matter) is , and that = is a> hard-coded component of XML. DreamWeaver wouldn't be able to handle> it if the equals sign changed to something else.> > Grant Hulbert, Director of Engineering **********************************> Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)> 16855 West Bernardo Drive, #380 | -------------------------> San Diego, CA 92127 | Software & Site Development> Main Line: (858) 675-1106 | http://www.smithmicro.com> Fax: (858) 675-0372 **********************************> > #############################################################> 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 > To switch to the INDEX mode, E-mail to > Send administrative queries to #############################################################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 To switch to the INDEX mode, E-mail to Send administrative queries to
John Peacock
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:
Integration with SQL (1997)
Great product and great job ! (1997)
Webcatalog, Webstar and Crasharama (1999)
Creating folders and deleting files (1997)
[Sum] function? (1997)
Cart questions (1997)
searchable list archive (1997)
Thanks for tips, more quest (1997)
BUG in [showif] using ^ (contains) (1997)
WebCatalog on G3 Macs? (1997)
WebCat2: Items xx to xx shown, etc. (1997)
Anyone using unix? Having problems... (2000)
Generating unique SKU from [cart] (1997)
[OT] MACWORLD (2003)
Grep (2003)
OT: Weird table rendering w/ WebCat in Explorer (2005)
Webcat2, WebCommerce, Mod 10 etc. (1997)
Re:Hideif / Showif (1998)
[delete] problem (1997)
Robert Minor duplicate mail (1997)