I am using RichFaces with JSR-286 Portlets and need to replace the state manager. The faces-config has the state-manager pointing to "org.jboss.portletbridge.application.PortletStateManager" and this inturn has the parent set to the "org.ajax4jsf.application.AjaxStateManager". I need to replace the latter state manager so it picks up my custom state manager.
Where do I need to configure this? Would I have to tweak the org.ajax4jsf.VIEW_HANDLERS context-param in web.xml and implement a custom FaceletPortletViewHandler? Or, would I implement a custom filter that extends org.ajax4jsf.Filter?
Thanks.