1 Reply Latest reply on Feb 26, 2007 4:38 PM by Thomas Heute

    How can I hide a portlet?

    Antonio Guerrero Newbie

      Hello people.
      I'm working with AS 4.0.5GA and Jboss Portal 2.4.
      I have a page with many portlets and one of them, has some links.
      When a click a link, i want to hide some portlets and show otherones, and i don't known how cad i do that :(.
      For example, i have the CMS Directory Portelt, and when i click a element of the CMS Directory, i want to hide all the others portlets and show only the CMS Directory and the CMS Portlet with the page given by the link.
      I like do that with AJAX if possible, if not, if you known anyway, pleased tell me :).
      Thanks in advance and sorry about my english.
      Regards.

        • 1. Re: How can I hide a portlet?
          Thomas Heute Master

          That's not really a scenario suited for portals.

          The portal concept could just display the CMS Portlet in Maximized mode.

          You can define your layout so that your CMS portlet is displayed in maximized mode and still see the portlets of one region for example.
          By default though, only the maximized window will be displayed so you would need to define your own layout.