Weird problem with excludes

Fady Matar <[email protected]> Sun, 22 May 2005 02:49:39 CDT
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <27134244.1116748209466.JavaMail.os-j2ee@opensymphony01.contegix.com>
First of all your exclude tag should be within the decorator tag i.e.

<decorators defaultdir="/decorators">
  <decorator name="default" page="default.jsp">
    <pattern>/*</pattern>
    <excludes>
      <pattern>/help/*</pattern>
    </excludes>
  </decorator>
</decorators>

Alternatively you can use the following:
<decorators defaultdir="/decorators">
  <decorator name="default" page="default.jsp">
    <pattern>/*</pattern>    
  </decorator>

  <decorator name="null">
    <pattern>/help/*</pattern> 
  </decorator>
</decorators>

Cheers

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


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