Yes, I believe you can do this, but I believe it's just a getter on
the Action, not something you need to stuff into a request or
anything.

Matt

On Tue, May 12, 2009 at 8:28 AM, Mauricio Ferreyra <maur...@gmail.com> wrote:
> Ok, Thanks Matt, another question.
>
> Can I set in struts.xml a variable passed by request or session ?
>
> example:
> Action: getRequest().setAttribute("template", "test");
>
> struts.xml: <result name="success">${template}/test.jsp</result>
>
> I'm trying but the result is redirect to mainMenu.html
>
> Thanks in advance.
>
> Mauri.
>
>
>
>
> On Tue, May 12, 2009 at 10:46 AM, Matt Raible <m...@raibledesigns.com>
> wrote:
>>
>> I don't think you can do this, but you might want to confirm with the
>> SiteMesh mailing list.
>> Matt
>>
>> On May 12, 2009, at 7:24 AM, Mauricio Ferreyra <maur...@gmail.com> wrote:
>>
>> Hi all,
>>            I want use to a dynamic variable, such as ${template}, in my
>> decorators.xml. Can I do it?
>> example:
>>
>> <decorators defaultdir="/decorators">
>>     <decorator name="default" page="${template}/default.jsp">
>>         <pattern>/*</pattern>
>>     </decorator>
>> </decorators>
>>
>>
>> Regards!
>>
>> Mauri.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to