Cool, but looking at the doc, it looks like the only place I can declare
a parm is in the result tag?  

Something like this:
<result name="success" type="tiles">view-{packageName}.panel</result>

How do I declare the variable at the package level so I don't have to
redeclare each action and result?

MG

-----Original Message-----
From: Dale Newfield [mailto:d...@newfield.org] 
Sent: Friday, February 06, 2009 2:25 PM
To: Struts Users Mailing List
Subject: Re: Can I use a Parameter in result definition?

Griffith, Michael * wrote:
> Does anyone know if it is possible to use a parameter in my 
> action/result definition:

Yes.  You can include OGNL there (except it uses the JSTL ${} syntax
instead of OGNL %{} syntax for a reason I've never understood):

http://struts.apache.org/2.1.6/struts2-core/apidocs/org/apache/struts2/d
ispatcher/StrutsResultSupport.html

-Dale

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


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

Reply via email to