I use JBoss-Portal 2.6.2.
I want to switch from my default portal to another portal. The other portal is created dynamically. I create the portal, the page, and a portlet on this page on the fly by clicking a button on an jsf-page on a portlet. Till here all works fine. Now I want just to jump to the newly created portal and jump to the special page.
First I tried the sendRedirect- Method, but this method can not be invoked after any of the following methods of the ActionResponse interface has been called: (JP-API)
I tried the following:
response.sendRedirect(url); or etx.redirect(createdPageURL.toString() );