Dave.  The partnerId is being set, in the action class using
session.put("partnerId", "11")

On Mon, Dec 6, 2010 at 1:27 PM, Alfredo Manuel Osorio Martinez
<alfredo.oso...@afirme.com> wrote:
> Try replacing %{partnerId} with %{#session.partnerId}

Thanks!  That worked


>
> Alfredo Osorio
>
> -----Mensaje original-----
> De: Greg Akins [mailto:angryg...@gmail.com]
> Enviado el: Monday, December 06, 2010 11:16 AM
> Para: user@struts.apache.org
> Asunto: Question about OGNL / EL
>
> 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
>
>



-- 
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

Reply via email to