struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Baranski" <list-subscripti...@secmgmt.com>
Subject RE: How to get value of tag attribute from OGNL?
Date Tue, 13 Oct 2009 13:27:19 GMT
Why not use this?
http://struts.apache.org/2.1.6/docs/set.html

>-----Original Message-----
>From: Alex Siman [mailto:aleksandr.siman@gmail.com]
>Sent: Tuesday, October 13, 2009 9:25 AM
>To: user@struts.apache.org
>Subject: Re: How to get value of tag attribute from OGNL?
>
>
>OK, I figured out how to get value of tag attribute in JSP:
>
>	<%= jspContext.getAttribute("fieldName", PageContext.PAGE_SCOPE)
>%>
>
>Now I need to put this value into some OGNL variable, say
>'#ognlFieldName',
>to get access to this value from Struts2 tags.
>
>So, how to get access to jspContext from OGNL or at least Java code?
>--
>View this message in context: http://www.nabble.com/How-to-get-value-of-
>tag-attribute-from-OGNL--tp25862967p25872856.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


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


Mime
View raw message