directory specific decoration not working with struts modules

Suhel Rizvi <[email protected]> Tue, 21 Jun 2005 18:11:32 CDT
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <9686224.1119396280841.JavaMail.os-j2ee@opensymphony01.contegix.com>
Defining a decorator with a url pattern containing a directory name in decorators.xml so that it decorates only named directory and contents seems to work fine except when used in a Struts app with modules so I want to know how to get this to work ?

Normally with the following definition in decorators.xml then only the 'test' directory and pages contained in it are decorated by 'main' decorator.

[b]<decorator name="main" page="main.jsp">
      <pattern>/test/*</pattern>
</decorator>[/b]

However if the app is a Struts app with modules, with one of the modules mapped to directory 'test' then the above definition no longer works.  

My webapp contains several modules and I want to decorate each module with  a separate decorator.

Has anybody encountered this problem, know whats happening here or know how to solve it?

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=3568&messageID=9053#9053


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]