You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dale Newfield <Da...@Newfield.org> on 2007/12/14 21:23:48 UTC

Re: [struts] Struts 2 + Sitemesh decorator mapping

Filipe David Manana wrote:
> Anyone using Struts 2 with multiple Sitemesh decorators?

Yep.

You mention using more than one decorator, but the decorators.xml file 
you show only has one.  It's scanned in order, and the first matching 
one is used.  Do you have your "other" decorator (with "/*") listed 
before this one?

-Dale

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


Re: [struts] Struts 2 + Sitemesh decorator mapping

Posted by Filipe David Manana <fd...@ieee.org>.
I fixed the problem:

the pattern  /*/lsf/*  worked :)

Thank you for replying.

On Dec 14, 2007 9:23 PM, Dale Newfield <Da...@newfield.org> wrote:

> Filipe David Manana wrote:
> > Anyone using Struts 2 with multiple Sitemesh decorators?
>
> Yep.
>
> You mention using more than one decorator, but the decorators.xml file
> you show only has one.  It's scanned in order, and the first matching
> one is used.  Do you have your "other" decorator (with "/*") listed
> before this one?
>
> -Dale
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Filipe David Manana,
fdmanana@ieee.org

Obvious facts are like secrets to those not trained to see them.