Details
Description
Info from Neil Griffin:
Here is a list of Servlet API dependencies I've encountered so far. Some are Mojarra, some ICEfaces:
- Mojarra's RestoreViewPhase.java, overcome with the bridge's RequestAttributeMap.java
- javax.servlet.include.path_info
- javax.servlet.include.servlet_path
- JSF 2.0's getRequestURI approach to detecting resources by searching for "/javax.faces.resource" in the path, which I've overcome in the bridge by converting this to a request parameter named "javax.faces.resource". I hope to submit this as a correction for JSF 2.1.
- ICEfaces:
- WindowScopeManager.lookup(FacesContext) - typecast to HttpSession - fixed for ALPHA2
- package org.icefaces.push.servlet (subject of this email thread)
The following ResourceHandler classes contain substantial Servlet dependency, but their functionality is not necessarily required for initial Portlet integration:
core/src/main/java/org/icefaces/push/servlet/ICEpushResourceHandler.java
core/src/main/java/org/icefaces/push/servlet/ICEfacesResourceHandler.java
Prior to implementation of JSF-centric resource handling of the URLs (note that this needs to accommodate both extension and path mapped JSF deployments) the Servlet-specific code is now bypassed through delegation in the Portlet case:
if (!(externalContext.getRequest() instanceof HttpServletRequest))
{ return handler.isResourceRequest(facesContext); }