[jboss-user] [JBoss Portal] - Re: programatically set window state to Maximized

thomas.heute@jboss.com do-not-reply at jboss.com
Tue Oct 17 05:54:54 EDT 2006


The portlet spec is your friend:

anonymous wrote : PLT.7.1.1 Including a Portlet Mode or a Window State
  | A portlet URL can include a specific portlet mode (see PLT.8 Portlet Modes Chapter) or
  |    window state (see PLT.9 Window States Chapter). The PortletURL interface has the
  |    setWindowState and setPortletMode methods for setting the portlet mode and window
  |    state in the portlet URL. For example:
  |             ...
  |           PortletURL url = response.createActionURL();
  |             url.setParameter(?paymentMethod?,?creditCardInProfile?);
  |             url.setWindowState(WindowState.MAXIMIZED);
  |             writer.print(?<FORM METHOD=\?POST\? ACTION=\??+ url.toString()+?\?>?);
  |             ...
  | 

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

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



More information about the jboss-user mailing list