2 Replies Latest reply on Feb 23, 2007 4:22 PM by front line

    Portlet being called when other portlet is maximized

    front line Newbie

      I have two portlets on a page, portlet A and portlet B.
      If both are visible on the page (not minimized), and I then maximize portlet A, portlet B is still receiving calls.
      This is probably wrong?
      If the portlets are minimized this works as it should.

        • 1. Re: Portlet being called when other portlet is maximized
          Alexander Radzishevsky Newbie

          according to jsr 168 spec:

          PLT.9.2 MAXIMIZED Window State
          15 The MAXIMIZED window state is an indication that a portlet may be the only portlet being
          rendered in the portal page, or that the portlet has more space compared to other portlets
          in the portal page. A portlet may generate richer content when its window state is
          MAXIMIZED.


          that means that if on of the portlets is maximized, other portlets still can be visible, thus doView of them still needs to be called.

          • 2. Re: Portlet being called when other portlet is maximized
            front line Newbie

            Well yes, but it actually is the only portlet visible on the page at the time, strange to call render methods on non-visible portlets...
            Maybe this is vendor specific, I recall other portals not calling non-visible portlets.
            But maybe I can live with this when its a known feature :) The spec actually doesn't specifically address this so it may differ.
            Thanks.