On Mon, Jun 1, 2009 at 4:54 PM, rdk1 wrote:
>
> Wow! #attr.user.friends actually works! How esoteric...
>
>
>
> Anyway, thank you Wes
>
> RK
> --
No problem, explanations here -
http://struts.apache.org/2.x/docs/ognl.html
http://struts.apache.org/2.x/docs/ognl-basics.html
--
Wes Wannemacher
A
Wow! #attr.user.friends actually works! How esoteric...
Anyway, thank you Wes
RK
--
View this message in context:
http://www.nabble.com/How-to-access-variable-in-JSP-tag-scope-from-struts-2-tags-%28OGNL-expression%29-tp23820238p23822150.html
Sent from the Struts - User mailing list archive a
rdk1 wrote:
#request.user.friends doesn't work, nor #page.user.friends
What are the possibilities you could provide a bit more context?
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands
Maybe - #attr.user.friends ?
I would assume that if ${user.name} works, then #attr should be able to find it.
-Wes
On Mon, Jun 1, 2009 at 4:23 PM, rdk1 wrote:
>
> #request.user.friends doesn't work, nor #page.user.friends
>
> RK
> --
> View this message in context:
> http://www.nabble.com/How-
#request.user.friends doesn't work, nor #page.user.friends
RK
--
View this message in context:
http://www.nabble.com/How-to-access-variable-in-JSP-tag-scope-from-struts-2-tags-%28OGNL-expression%29-tp23820238p23821167.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
Do you know which scope it is defined in?
I would try the following -
wrote:
>
> Hello,
>
> how can I access variable that is defined inside the body of third party
> (not struts2) tag? Example:
>
> items="${users}"
> var="user">
>
> ${user.name} <%-- works --%>
>
> <%--
Hello,
how can I access variable that is defined inside the body of third party
(not struts2) tag? Example:
${user.name} <%-- works --%>
<%-- doesn't work --%>
I know that JSP EL is forbidden in struts2 tags. But how could I access
variable "use
7 matches
Mail list logo