Re: How to disable any decorators from Java?

Scott Farquhar <[email protected]> Mon, 29 Aug 2005 18:29:57 +1000
Newsgroups gmane.comp.web.sitemesh.general,gmane.comp.lang.pnuts.user
Message-ID <[email protected]>
Peter,

On Wed, Aug 24, 2005 at 11:25:20PM -0500, Peter wrote:
> I'd like to tell SiteMesh not to use ANY decorators for my Struts ActionForward.
> 
> For example, the request is coming in and the decorator's name to apply is set in request scope.  However, depending on the logic, I want to tell SiteMesh not to apply any decorators on the ActionForward (it's like the <exclude> section of decorators.xml).

You can pass the decorator name in the meta tags in the page that you
want decorated.  If you pass a decorator name that doesn't exist, I think
that the page is returned undecorated.

Let me know if you need a hand with that.

Cheers,
Scott 

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