I am designing a portlet which needs to be used on two different portal pages. In the 1st instance when the portlet functionality is finished, it need to navigate to some portal page and in the 2nd instance when the functionality is finished, it is required to navigate to a external url.
I was planning to employ the JSR286 events and Wiring tool to implement the navigation. This will work well in case of navigating within the portal.
Is there any way, the same wiring mechanism can be used to sendRedirect () to external URL with some query string params?. I do not want to code the navigation logic in the portlet as I want to make it reusable.