Re: Is there an equivalent for the ?key="value" syntax but for ognl inline bindings
Re: Is there an equivalent for the ?key="value" syntax but for ognl inline bindings
- Subject: Re: Is there an equivalent for the ?key="value" syntax but for ognl inline bindings
- From: Mike Schrag <email@hidden>
- Date: Thu, 27 Mar 2008 17:06:13 -0400
I assume you mean WOOGNL inline bindings? Yes, the syntax is ?
key="value" ... Pretty easy, huh :)
On a related note is it possible to change the market ( currently
"$") used to denote non-litteral expressions in ognl bindings (e.g
use the WO 5.4.x "[...] " marker)? And if it is, how to do it?
Not currently, though it may be coming. I still say $xxx is a better
syntax than [xxx]. The problem is that configurable inline binding
syntaxes makes things a complete mess. It means you can't mix
frameworks because each framework may choose its own syntax. So I'm
sort of hesitant to add a configurable option provide a custom prefix/
suffix (like 5.4 does) because it seems like it's a long term
disaster, and I can't wholesale switch to "[xxx]" in Wonder (one
because I hate the syntax, two because we have backwards compatibility
to consider). It would have been nice for 5.4 to have adopted the $
syntax that we had been using, but things didn't turn out that way.
The only way to properly deal with it is by setting the syntax you use
in the framework Info.plist or something, but that seems like super
overkill.
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden