Re: EXPR text bug?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35978
interpreted = N
texte = >The text EXPR seems to break SHOWIF/ HIDEIF statements: > >On a page with nothing but the following code: > >[SHOWIF EXPR=EXPR]showme[/SHOWIF] >[HIDEIF EXPR=EXPR]hideme[/hideIF] > >showme should appear and hideme should be hidden. Instead, showme is >hidden and hideme is displayed.Sorry, expr is now a reserved word in that context. http://betadoc.smithmicro.com/XMLSyntax.htmlThe reasoning is that we had to clean up all contexts and tags so that they all have named parameters. In order to make things more backward-compatible, we still support the old-style syntax, but if we see expr we assume you are using new-style named parameters. I was concerned that this might mess people up, but I thought the rate of people using expr literally in a ShowIf would be pretty low....OLD... ...NEW... [ShowIf 1!2] [ShowIf expr=1!2] [date %Y] [date format=%Y] I see that the docs for [ShowIf] don't talk about this, so I'll see what I can do to clean that up.-- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: EXPR text bug? (Grant Hulbert 2000)
  2. EXPR text bug? (Irene Chien 2000)
>The text EXPR seems to break SHOWIF/ HIDEIF statements: > >On a page with nothing but the following code: > >[SHOWIF EXPR=EXPR]showme[/SHOWIF] >[HIDEIF EXPR=EXPR]hideme[/hideIF] > >showme should appear and hideme should be hidden. Instead, showme is >hidden and hideme is displayed.Sorry, expr is now a reserved word in that context. http://betadoc.smithmicro.com/XMLSyntax.htmlThe reasoning is that we had to clean up all contexts and tags so that they all have named parameters. In order to make things more backward-compatible, we still support the old-style syntax, but if we see expr we assume you are using new-style named parameters. I was concerned that this might mess people up, but I thought the rate of people using expr literally in a ShowIf would be pretty low....OLD... ...NEW... [ShowIf 1!2] [ShowIf expr=1!2] [date %Y] [date format=%Y] I see that the docs for [showif] don't talk about this, so I'll see what I can do to clean that up.-- 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 Grant Hulbert

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:

[showif [numfound]=0]? (2000) [LOOKUP] (1997) need to add a sku field to an existing db (2005) Toronto area? (1999) process SSI (1998) Navigator 4.01 (1997) Location of Browser Info.txt file (1997) emailer setup (1997) Problems with webcat 2.01 for NT (1997) Location of Browser Info.txt file (1997) NT b19 sends extra MIME headers (1997) Webcat2, WebCommerce, Mod 10 etc. (1997) Log-in Scheme (2003) Banner not random (1999) Re[2]: Re[2]: OT: Amazon Patents (2000) Signal Raised Error (1997) adding second sku (2000) [cart] Taxrate - seriously .. (2002) WebCatalog for guestbook ? (1997) Re:Emailer setup (1997)