[jboss-user] [JBoss Portal] - Custom Window State

engela do-not-reply at jboss.com
Tue Apr 17 06:18:32 EDT 2007


Does the JBoss Portal (2.4) support custom window states? Which class do I need to overwrite if I want to add my custom window state?

For printing the content of a portlet I quite like to introduce a custom window state 'print' which is mapped by by layout descriptor to print.jsp, which will only display the portlet without heading or navigation.

<layouts>
  |    <layout>
  |       <name>mylayout</name>
  |       <uri>/layouts/mylayout/index.jsp</uri>
  |       <uri state="maximized">/layouts/mylayout/maximized.jsp</uri>
  |       <uri state="print">/layouts/mylayout/print.jsp</uri>
  |       <regions>
  |          <region name="left"/>
  |          <region name="center"/>
  |          <region name="navigation"/>
  |       </regions>
  |    </layout>
  | </layouts>

Is that possible?

Thanks,

Anette

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037913#4037913

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037913



More information about the jboss-user mailing list