struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Musachy Barroso <musa...@gmail.com>
Subject Re: Using Expression Language (EL) To Access ActionSupport Class Properties
Date Mon, 04 May 2009 19:53:27 GMT
using EL to access the stack/action is fine.

musachy

On Mon, May 4, 2009 at 3:48 PM, phillips1021 <bphillips@ku.edu> wrote:
>
> Martin thank you for the reply.
>
> Your idea:
>
> <s:set name="roleIds" value="foo1,bar1"/>
> <jsec:hasAnyRoles name="<s:property value="#roleIds" /></jsec:hasAnyRoles>
>
> does not work with the JSecurity hasAnyRoles tag. The Struts 2 property tag
> and OGNL expresson do not work when placed as the value for the name
> attribute of the above tag.
>
> Since I could not get a Struts 2 tag or OGNL expression to work for the name
> attribute in the JSecurity hasAnyRoles tag, I used  expression language,
> which did work.
>
> I'm trying to determine if using EL to access a property of the
> ActionSupport class is OK in Struts 2.
>
> Thanks again for the suggestions.
>
> Bruce
>
> --
> View this message in context: http://www.nabble.com/Using-Expression-Language-%28EL%29-To-Access-ActionSupport-Class-Properties-tp23373477p23375317.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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


Mime
View raw message