Forums Register Login

Invoking JSF PhaseListener in JSR-168 Portlets

+Pie Number of slices to send: Send
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!
And will you succeed? Yes you will indeed! (98 and 3/4 % guaranteed) - Seuss. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1183 times.
Similar Threads
URLs in a Portlet
how to redirect to another servlet in a jsf+portal project
Designing a job portal System
What we need to build portlet application?
HOw to get session variables between portlets ?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 02:13:53.