How to create printable decorator using sitemesh3

178 views
Skip to first unread message

Ashish Chudasama

unread,
May 28, 2013, 7:18:10 AM5/28/13
to sitemes...@googlegroups.com
Hi Friends,

Can you please help me how to implement printable decorator in sitemesh3

As in sitemesh 2 we do the following configuration 

<decorator-mappers>     
 <mapper
class="com.opensymphony.module.sitemesh.mapper.PrintableDecoratorMapper">
<param name="decorator" value="printable" />
<param name="parameter.name" value="printable" />
<param name="parameter.value" value="true" />
</mapper>
 <decorator name="printable" page="/decorators/printable.jsp"/>  
 
</decorator-mappers>


how to configure such thing in sitemesh3.

Thanks in advance!


Kevin Loverde

unread,
Jul 13, 2015, 3:36:29 PM7/13/15
to sitemes...@googlegroups.com
I have this same problem, I can't get sitemesh3 to pick up URL parameters like sitemesh2 could. Apparently 2 years later it's still broke.

I really wish my predecessor didn't attach us to this horrible boat anchor of a library. But I still need to fix all these problems.
Reply all
Reply to author
Forward
0 new messages