1 Reply Latest reply on Sep 29, 2006 11:50 AM by Woodler

    How to control maximized portlet layout?

    Philipp Taprogge Newbie

      Hi!

      I am trying to understand how Portal manages the layout of maximized portlets. The documentation does not seem to cover this topic.

      In a freshly deployed Portal, a maximized portlet will cover both center and left regions, but not navigation. How is this controlled?
      Is the omission of the navigation region hard-coded in the RenderSet or is there a property one can use to define this.

      What I am trying to do is construct a portal in which maximizing portlets will only make them occupy the whole region they are in and not more.

      Can anyone point me to the right direction?

      Regands,

      Phil

        • 1. Re: How to control maximized portlet layout?
          Woodler Expert

          this is described in the doc, but perhaps not easy to find ;)

          You can do what you are looking for. It is controlled via the layout strategy for one, and then via the layout itself. The layout can describe individual layout JSPs (or Servlets) for each 'state'. The state is set by the layout strategy. The strategy is also the one that can move portlets into different regions depending on the state, etc. Read the layout and theme doc. It is all in there.

          The default layout is using two JSPs, one for 'normal' and one for 'maximized' state. The Maximizing Strategy filters all but the portlets in the navigation and the maximized region, and temporarily moves the maximized portlet into the maximized region.
          So I guess in your case you want to only change the strategy to only filter the not maximized portlets in the region that contains the maximized portlet, hece the maximized portlet gets the entire region for itself. The rest should already do what you need.