You can escape the # character so that UEL will not be invoked. In
fact, this is necessary for anonymous OGNL list creation

i.e. - https://issues.apache.org/struts/browse/WW-2213


-W

On 10/19/07, Dave Newton <[EMAIL PROTECTED]> wrote:
> http://struts.apache.org/2.x/docs/can-we-use-jstl-with-the-framework.html
>
> --- Gary Affonso <[EMAIL PROTECTED]> wrote:
> > Following that logic, if I switched to GlassFish for
> > my server, I'd then be using Unified EL, right?
>
> Yes, but OGNL # expressions won't work unless you turn
> it off, because # is a UEL escape char. See
> http://struts.apache.org/2.x/docs/ognl.html.
>
> > 4) How do I get things like the "top" of the stack?
>
> [0]
>
> See
> http://struts.apache.org/2.x/docs/ognl-basics.html.
>
> > Am I the only one who thinks this rocks?
>
> Probably.
>
> There are rumblings of changing either the use of
> OGNL, making the EL pluggable, etc. but I'm not sure
> where that's at in the process.
>
> d.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Wesley Wannemacher
President, Head Engineer/Consultant
WanTii, Inc.
http://www.wantii.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to