I tryied to use redirect with the following code:
String url = getRespProblemHandlingTaskView().getFinishUrl();
if (url != null && url.length() > 0) {
getFacesContext().getExternalContext().redirect(url);
}
But I got the following exception:
java.lang.IllegalStateException: [POP.007.0060] The sendRedirect method can not be invoked after any of the following methods of the ActionResponse interface has been called: setPortletMode, setWindowState, setRenderParameter, setRenderParameters
The same code works OK when attached to other actions for controls like command buttons. It seems to me that something works different for the Principal Picker Dialog
BTW, where can I get more information on these topics ?
Thanks again
Edgardo Burin
#webMethods#MWS-CAF-Task-Engine#webMethods-BPMS