3 Replies Latest reply on Nov 5, 2012 11:14 PM by vstorm83

    collapsible effect in portlet window

    drwho

      Hi,

      I know there are exposed public paramter we can query like navigation_uri, page_name etc for each prtlet. Can we somehow set them? The parameters I am concerned about are window_width and window_height. We would like to make it collapsible based on some conditions. Is it doable? What we would really like to do is to have an effect like collapsible in JQuery for each portlet window. Any ideas?

      Gordon

        • 1. Re: collapsible effect in portlet window
          vstorm83

          Those public parameter are readonly, you should not change it.

          if your case is making the portlet minimized but with effect just like jquery does. You can make the effect by Javascript, then make an action request to server to change the portlet window state (minimized, normal).

          but if you want to change the window width and height to a specific size, this is related to changing portlet window state in database, and this action belongs to portal, you may need to use GateIn internal api

          • 2. Re: collapsible effect in portlet window
            drwho

            Hi,

            We want to have the accordion effect added to the portlet window

             

             

            http://jqueryui.com/accordion/

             

             

            How do I implement that in Javascript within the exo  framework?

            Gordon

            • 3. Re: collapsible effect in portlet window
              vstorm83

              we don't have this js plugin in eXo Javascript.

              Why don't you use jquery UI for this task (may need to override UIPortlet.gtmpl by using extension machanism) ? or you can write it your self with jquery core (I see that jquery core also support some UI effect such as: fading, sliding...)