-
May 19th, 2010, 08:36 AM
#1
How to stop Sitemesh decorating re-rendered fragments
I'm tasked with integrating some new Webflow 2/Richfaces/Facelet code into an existing jsp based web app that decorates its pages with Sitemesh.
I've got everything working fine apart from the fact that when a re-render a page fragment from webflow, Sitemesh decorates the fragment with a load of HTML that ends up breaking the Ajax call.
With Sitemesh you can exclude stuff from being decorated by URL patterns, or even by adding request parameters than can stop decoration of the request. The trouble I have is I want the main pages decorated, but not the re-rendered fragments, so I can't use a URL based decorator exclude.
Is there a way of adding a request parameter to the ajax request that is doing the re-render, or is there any other approach to solving this conundrum ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules