This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes sitemesh exclude problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "sitemesh exclude problem" Watch "sitemesh exclude problem" New topic
Author

sitemesh exclude problem

Josep M Serrainat
Greenhorn

Joined: Sep 14, 2010
Posts: 16
Hello, I have a problem with sitemesh exclude rule. I have a this rules in my decorator.xml


Under /secure all jsp pages are fine decorated. My question is: is possible have exclude dir into /secure/* ?

I add this rule, into <excludes></excludes> but not work



I understand that sitemesh applies decorator under all /secure subdirs and this rule does not run.

I see that one possible solution is add subdirs to /secure. {/secure/decorator and /secure/forms}, after that use rules in this way



but..... it's possible use the first proposal?

Thank's for all.
Josep M Serrainat
Greenhorn

Joined: Sep 14, 2010
Posts: 16
I forgot to say that /forms is a subdirectory into /secure of forms to return to ajax calls.

Thank's
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: sitemesh exclude problem
 
Similar Threads
Sitemesh 2.4 and SpringMVC 2.5.6
Can't seem to get any Sitemesh decorator patterns to work except for the /*
[SiteMesh] [Strust2] i want excludes my index page
Sitemesh doesnt decorate any pages after action class is called
Spring MVC redirect with sitemesh