Try replacing %{partnerId} with %{#session.partnerId}
Alfredo Osorio
-----Mensaje original-----
De: Greg Akins [mailto:[email protected]]
Enviado el: Monday, December 06, 2010 11:16 AM
Para: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]