powered by Jive Software

SiteMesh

Is there a way to set SiteMesh to ignore certain JSPs?

Hi Jeff,

You can tell SiteMesh to ignore specific jsp’'s by adding them to the element in the decorators.xml file, which is in the MESSENGER_HOME/src/web/WEB-INF directory.

Hope that helps,

Ryan

To add to Ryan’'s suggestions – you can also specify a decorator of “none” inside the actual JSP page. This is detailed in the plugin developer guide. A snippet:

decorator (Optional) – overrides the Sitemesh decorator to use for the page. A decorator named none is available that will simply render the page without a decorator.

So, that would look like:

…[/pre]

Regards,

Matt

you can also specify a decorator of “none” inside the actual JSP page.

Cool, I hadn’'t looked at the updated developer guide. Great tip!

Thanks,

Ryan