The url value syntax should be fine. Did you try to test without sitemesh?

2010/12/6 Greg Akins <angryg...@gmail.com>:
> This might not be specifically a OGNL question.  I've got some code
> that doesn't appear to behave correctly.
>
> <title><decorator:title default="Mobile Money Portal" /> - 
> ${partnerId}</title>
> <s:url value="%{partnerId}/styles/main.css" var="mainCss" />
>
> When I open this page the title includes the partnerId but the url doesn't
>
> partnerId is set on the Session.  I'm wondering if it isn't set when
> the <s:url/> tag is evaluated, but is when the EL expression is
> evaluated.
>
> Any other idea why this wouldn't be working?
>
> --
> Greg Akins
>
> http://insomnia-consulting.org
> http://www.pghcodingdojo.org
> http://pittjug.dev.java.net
> http://twitter.com/akinsgre
> http://www.linkedin.com/in/akinsgre
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
Maurizio Cucchiara

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

Reply via email to