2 Replies Latest reply on Feb 15, 2008 7:57 AM by den74

    Window property : window-state maximize

    snon

      JBoss Portal Version : 2.4.1
      Downloaded Bundled version
      JBoss AS Version : 4.0.4
      Database Vendor and Version : MySQL
      OS Platform : Linux / windows

      Hi,

      I have created one portal instance with 3 pages :
      portal-intranet
      |-- Admin page
      |-- Page 1
      |-- Page 2

      I am a new Jboss user and I'm having a problem with window-states. I'm using the descriptors to create my portal and pages :
      portal-intranet-object.xml
      page1-object.xml
      page2-object.xml

      I have only one window on page 1 and 2, so I'd like them to have state "maximized". My problem is that I can't find the right property tag to use :

      <window-name>CactiWindow</window-name>
      <instance-ref>CactiBridgePortletInstance</instance-ref>
      center
      1

      <window-state>maximized</window-state>


      The <window-state> tag isn't taken into account.

        • 1. Re: Window property : window-state maximize
          snon

          Hi I tried to use the following tag:

          <supported-window-states>maximized</supported-window-states>

          since it was used for IFramePortletInstance but it doesn't seems to work on portletbridgeportlet.

          Does anyone has any clue about this ?

          • 2. Re: Window property : window-state maximize
            den74

            is not possible to open a page maximized cia configuration file in portal 2.4.x (i don't know in 2.6.x, it was requested but i'm not sure)

            You can do it setting the window state in processAction method using
            arg1.setWindowState(WindowState.MAXIMIZED);

            or defining a new layout strategy, or a new layout haveing the normal jsp equals to maximized jsp

            i don't know which is the best way to do it