The exclude parameter doesn't allow URLs with query strings to be excluded.
I'm trying to exclude the followin Tapestry URL/Page from being
decorated - but it doesn't work.
<decorators defaultdir="/decorators">
<excludes>
<pattern>/app?service=direct/1/users/$DirectLink$0</pattern>
</excludes>
<decorator name="default" page="default.jsp">
<pattern>/*</pattern>
</decorator>
</decorators>
Reason from Joe:
Okay, I think I see what's happening. The SiteMesh filter checks to see whether a page should be excluded by looking at
request.getServletPath(), which does not return anything past the
question mark, so the exclude doesn't work. This be a bug in SiteMesh.
Original thread:
http://thread.gmane.org/gmane.comp.web.sitemesh.general/691