Did you try using normal OGNL syntax for accessing value stack properties?

On Aug 18, 2010 4:16 PM, <java....@spamgourmet.com> wrote:
Is it possible to choose an action result based on a value in the
HttpSession?  I have read the following page:

http://struts.apache.org/2.0.11.1/docs/parameters-in-configuration-results.html

I understand how to reference properties from the action itself, but is it
possible if the action does NOT provide a getSession() method?
I'd like to do something like this:

<action name="index">
 <result type="freemarker">/layouts/${Session.layout}/index.ftl</result>
</action>

-rgm

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

Reply via email to