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:

More to Expire (1998) Replace Statement (1997) using showpage and showcart commands (1996) Anybody see this before? (2006) Requiring that certain fields be completed (1997) Surprise x and y post args (1998) 'RequiredField' Question (1998) Turning a URL into a link (2003) Need help with [cart] (2000) CVS Files for databases (2000) BBEdit and WebCatalog 2.0? (1997) Bug or syntax error on my part? (1997) [TaxableTotal] - not working with AOL and IE (1997) limitation found on group searching (1997) Webstar 1.3.1 PPC (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Running _every_ page through WebCat ? (1997) Help! Odd, irreproducible happenings. (1998) too many nested ... problem (1997) Sku numbers (1997)