6 Replies Latest reply on Jun 8, 2007 11:28 AM by den74

    getting a portlet to load in maximized state

    advaittrivedi

      Hi All,

      I have a portlet which does nothing, but I when I put it on page, I want it in maximized state. For that I have added following in *-object.xml:

      <?xml version="1.0" encoding="utf-8"?>


      <parent-ref>default.xwiki</parent-ref>
      <if-exists>overwrite</if-exists>

      <window-name>XWikiWindow</window-name>
      <instance-ref>XWikiIFramePortletInstance</instance-ref>
      center
      100
      <supported-window-states>
      <window-state>maximized</window-state>
      </supported-window-states>




      The portlet gets deployed OK on the page when I put war in deploy directory, but it shows in normal mode, also it has minimize and maximize buttons, which should not be there if <supported-window-states> has not included them !

      Any ideas?