0 Replies Latest reply on Apr 28, 2008 4:34 PM by Jason Reilly

    maximized window state not maintained

    Jason Reilly Newbie

      Setup:
      JBoss Portal 2.6.4
      jdk1.6

      Problem: I have 3 different pages with one portlet on each page. Each portlet renders correctly when, in the *-object.xml file, I have an initial window state of maximized. When I click from one page to the next and back again, the maximized state gets reset to a normal window state.

      Here is an example of my *-object.xml file:



      <parent-ref>default.default.Feedback</parent-ref>
      <if-exists>overwrite</if-exists>
      <supported-modes>
      view
      </supported-modes>
      <supported-window-states>
      <window-state>maximized</window-state>
      </supported-window-states>

      <initial-window-state>maximized</initial-window-state>
      <initial-mode>view</initial-mode>
      <window-name>Feedback</window-name>
      <instance-ref>FeedbackPortletInstance</instance-ref>
      center
      0




      I even tried to set the window state to maximized in the processAction method.

      Any clues as to how to keep the initial window state permanently?