Hello,
I wrote to [email protected] a couple of weeks ago about a problem with AJAX JSF portlets using Apache JSF Portal Bridge. ( http://mail-archives.apache.org/mod_mbox/portals-bridges-user/200709.mbo x/browser ) Summary: What I want to do is to write a portlet in JSF using portal bridge. The app should support some AJAX, and I want the AJAX backend to be a JSF PhaseListener (and not a servlet which doesn't know about JSF). First problem: JSF behind servlet. I've applied the patch attached to http://issues.apache.org/jira/browse/PB-73 This works ;-) (thank you). Second problem, which I realized only after getting through the first one. My AJAX url-target would be the FacesServlet (as I can't hit a portlet). This means that my PhaseListener will be invoked with a different FacesContext than the one that orginally delivered by portlet fragment. (Does this make sense or should i elaborate?). In effect this means that although my AJAX backend is a JSF PhaseListener, I still cannot access View state or backing beans of my JSF-portlet. Does anyone have any idea as to how I can word around/fix this problem? Loose ideas are very welcome ;-) Cheers, - Karl
