the decoration is done in the renderSet. There is no interceptor stack for this. The LayoutStrategyInterceptor handles the layout strategy (as the name implies :) ;
The strategy is something you might be able to use for the other feature you are mentioning here: it is called when the portal, page, and portlets that need to be rendered are determined. The strategy can change some of the artifacts that are about to be rendered. You can ommit portlets, you can switch to another layout (JSP) , etc. To make such a decission in the strategy, it allows access to the portlet modes and window states. To my knowledge, the portlet can not determine at runtime how it is decorated. What you could do is inject another css file, or change the class attributes in the rendered portlet fragment. This would allow you to change the look and feel via css, based on what the portlet renders. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915536#3915536 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915536 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user