[jboss-user] [JBoss Portal] - maximized window state not maintained

jdr0887 do-not-reply at jboss.com
Mon Apr 28 16:34:53 EDT 2008


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?

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

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



More information about the jboss-user mailing list