Re: No decoration for jspx's ?

Alexander Snaps <[email protected]> Tue, 18 Apr 2006 00:33:42 CDT
Newsgroups gmane.comp.web.sitemesh.general,gmane.comp.java.com4j.user
Message-ID <24412669.1145338452367.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
It is fixed in the mean, hit me in the tub this morning...

So, my problem was: SiteMesh worked as expected, but as soon as I tried to decorate a jspx, being accessed directly or as a WebWork result, SiteMesh just kept ignoring those.

I actually only included the <jsp:directive.page contentType="text/html... tag in the decorator and left it out in my test jspx page, as I would have done using tiles. And that is were it hit me "TILES"! It just simply isn't the same approach: decorator pattern that is here!
So I added the correct header to my WebWork jspx result so that SiteMesh knows this is content it can handle (or at least try). Everything's fixed now.
Thanks
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=26273&messageID=51776#51776

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