using EL to access the stack/action is fine. musachy
On Mon, May 4, 2009 at 3:48 PM, phillips1021 <bphill...@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-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org