This content has been marked as final.
Show 4 replies
-
1. Re: Hiding a portlet
julien1 Jul 26, 2006 1:24 PM (in response to dgallego)try to throw a portlet exception and configure the portal in jboss-portal.sar/conf/config.xml such as it does not display portlets that throw exceptions.
pretty ugly I know, but should work. -
2. Re: Hiding a portlet
dgallego Jul 27, 2006 3:46 AM (in response to dgallego)Hehehe. I have tried launching an UnavailableException, but when I execute the page for the first time, it displayes: "No portlet available". If I refresh the page, the portlet dissappears, good, but I can't make it visible again.
Thanks ;) -
3. Re: Hiding a portlet
roy.russo Jul 27, 2006 8:30 AM (in response to dgallego)You can't have this sort of behaviour from within the portlet, as the portal will have already called it and its render, decorated it, and aggregated it on to the page.
-