1 Reply Latest reply on Sep 13, 2010 8:36 AM by xuamao

    How do I change portlet position in row layout in runtime?

    ceik

      Hi

       

      I'd like to change the way portlet is rendered in page, so that a page with three portlets (A, B and C) with a row layout,

      can be presented B, A and C, with the click on a link or custom portlet mode.

       

      Is this possible in GateIn, without too much hack?

       

      And can I specify a default order (like B, C and A) i.e. if it is a spesific user?

       

      Thanks!

        • 1. Re: How do I change portlet position in row layout in runtime?
          xuamao

          Why do u need to write three different portlets for that?

           

          My suggestion is create the single portlet to realize the dynamic render function for your layout. As i know about gatein, the layout of portlet in portal is saved independently in database. It is not supported by gatein to change them dynamic. Maybe you can check the code of exo for administration of layout to find something useful. But even if it is possible, you may change a lot of gatein.

          And i do not think it is a problem which could be explained by few post in forum.

           

          But as said, just as suggestion.