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:
Append probs, please help (2001)
service stop and restart (1997)
WC Database Format (1997)
Pull Down Search (2000)
Text data with spaces in them... (1997)
Authenticate (1997)
RE: protect tag not working (1998)
Merging databases (1997)
[date format] w/in sendmail (1997)
method of payment (1997)
no global [username] or [password] displayed ... (1997)
[shownext] help (2002)
More on the email templates (1997)
Counting files (1998)
WebMerchant - fixed, now trigger question... (1999)
Search bug. Help (2002)
WebDNA 5 & iTools 7 (2003)
greater than or equal to (1997)
Odd [math] behaviour (2003)
2.0Beta Command Ref (can't find this instruction) (1997)