Hi,
I have an action where I call a webservice and depending on the web service’s output I decide to redirect the user to one of two pages.
I’ve tried the following but I’m getting an error:
getFacesContext().getExternalContext().dispatch(“/secondPage”);
java.lang.IllegalStateException: Must be a RenderRequest
at com.webMethods.caf.faces.portlet.PortletFacesContext$PortletExternalContext.dispatch(PortletFacesContext.java:178)
What am I doing wrong?
Thanks
Bruno
#webMethods-BPMS#webMethods#MWS-CAF-Task-Engine