| Author |
Invoking JSF PhaseListener in JSR-168 Portlets
|
Prasanna Chennupati
Ranch Hand
Joined: Feb 09, 2006
Posts: 38
|
|
Hi, I am currently attempting to implement Ajax in a JSF Portlet (JSR-168 specification) by using a PhaseListener but I'm having problems implementing it. What I'm seeing is that, since the JSF is contained in a portlet, the Faces Servlet has been replaced by the FacesGenericPortlet. Originally, you could explicitly invoke the PhaseListener by calling the Faces Servlet directly (ie. by setting the url like this: '<%=renderRequest.getContextPath()%>/faces/action=changeIncident&incidentId='+requestString) and that would kick off the PhaseListener. With the FacesGenericPortlet, however, I can't call it in the same way. Does anyone know how to invoke the PhaseListener in such a scenario? I need to explicitly invoke the PhaseListener so that JSF doesn't take control and refresh the page. Any help is appreciated. Thanks!
|
Thanks,<br />Prasanna<br />SCJP1.4,SCWCD1.4,SCBCD1.3,SCDJWS,SCEA-1<br />IBM Certified Solution Developer -- WebSphere Portal V5.1(got 100%)
|
 |
 |
|
|
subject: Invoking JSF PhaseListener in JSR-168 Portlets
|
|
|