struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wes Wannemacher" <w...@wantii.com>
Subject Re: UEL and Struts 2.x
Date Mon, 17 Dec 2007 19:05:38 GMT
You will be okay, AFAIK, the symbol clash is with '#{' which OGNL uses
to create anonymous maps/lists. Your usage will be okay since it
doesn't invoke UEL.

-Wes

On 12/17/07, Alberto A. Flores <aaflores@gmail.com> wrote:
> Are there any plans (on the Struts2 team) to address the problem that
> comes with UEL expressions (JSP 2.1 - JSR-245) in using the "#" symbol?
>
> I'm currently using such symbol to get access to "request" attributes
> (so my Struts2 tags can read values from "request scoped" beans), by
> doing the following:
>
> %{#request.myBean}
>
> where "myBean" is an attribute in the request object.
>
> If anyone knows of any other way to do the same without the "#" sign,
> would you let me know?
>
> Thanks,
>
> --
>
> Alberto A. Flores
> http://www.linkedin.com/in/aflores
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message