You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Xyzr <xy...@gmail.com> on 2009/08/04 02:29:12 UTC
Re: [S2] Using Sitemesh properties within Struts 2 tags
The solution is here:
http://www.nabble.com/-S2--Access-a-SiteMesh-Object-in-a-Struts-tag-td13272172.html#a13336246
solution .
Christian Priebe wrote:
>
> Hey,
>
> I want to use a sitemesh property obtained by the tag
> <decorator:getProperty property="paramName" /> within a Struts2 tag to
> make a special include dynamically controllable by the decorated content
> page. But as we all know a nested tag like
>
> <s:include value="<decorator:getProperty property="paramName" />" />
>
> won't work. Now my question:
> What alternative do I have to achieve what I want (if there is a
> possibility at all) ?
>
> I'm using Struts 2.0.14 with the sitemesh-plugin and neither Freemarker
> nor Velocity, just simple JSPs.
>
>
> Thanks in advance,
> Christian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/-S2--Avoiding-nested-tags---Using-Sitemesh-properties-within-Struts-2-tags-tp21386124p24800454.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