D2DFaceletViewHandler « IceFaces « JSF Q&A





1. How to extends D2DFaceletViewHandler    icefaces.org

3. NPE in D2DFaceletViewHandler using Jboss 5.0, IceFaces 1.8    icefaces.org

I am using JEE 5 (JDK 1.6) and Facelets 1.1.14; I've successfully deployed and run a simple IceFaces 1.8 webapp using Jboss 4.2.2, but on attempting to deploy that same app with JBoss 5.0.0, I get the following stack trace: java.lang.NullPointerException com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:268) com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153) com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110) ........... From my read of the App Server dependencies, the jars I should use are the same ...

4. D2DFaceletViewHandler    icefaces.org

6. com.icesoft.faces.facelets.D2DFaceletViewHandler renderResponse Problem in renderResponse: null    icefaces.org

Hi! I'm using WAS 7 and icefaces 1.8. I got this error: 00000019 D2DFaceletVie E com.icesoft.faces.facelets.D2DFaceletViewHandler renderResponse Problem in renderResponse: null java.lang.NullPointerException at com.icesoft.faces.component.commandsortheader.CommandSortHeaderRenderer.encodeEnd(CommandSortHeaderRenderer.java:80) at com.ibm.faces.renderkit.DefaultAjaxRenderer.encodeEnd(DefaultAjaxRenderer.java:83) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833) at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:369) at com.icesoft.faces.component.ext.renderkit.TableRenderer.processUIColumnHeader(TableRenderer.java:486) at com.icesoft.faces.component.ext.renderkit.TableRenderer.renderColumnHeader(TableRenderer.java:240) at com.icesoft.faces.component.ext.renderkit.TableRenderer.renderFacet(TableRenderer.java:189) at com.icesoft.faces.renderkit.dom_html_basic.TableRenderer.encodeBegin(TableRenderer.java:121) at com.ibm.faces.renderkit.DefaultAjaxRenderer.encodeBegin(DefaultAjaxRenderer.java:64) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:785) at javax.faces.component.UIData.encodeBegin(UIData.java:879) at com.icesoft.faces.component.panelseries.UISeries.encodeBegin(UISeries.java:309) at com.icesoft.faces.component.ext.HtmlDataTable.encodeBegin(HtmlDataTable.java:109) at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:355) at com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:95) at com.ibm.faces.renderkit.DefaultAjaxRenderer.encodeChildren(DefaultAjaxRenderer.java:73) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809) at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:357) at com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:95) at ...

8. When I use D2DFaceletViewHandler, I am unable to update the UI live.    icefaces.org

When I use D2DFaceletViewHandler in my faces-config.xml, I am unable to update the UI live. When I use the FaceletViewHandler, I can update the UI live. Great... can't wait until Oct. --Todd Here is my web.xml: Petro Administration Petro Admin javax.faces.DEFAULT_SUFFIX .xhtml facelets.DEVELOPMENT true facelets.BUFFER_SIZE 5 ...

9. [D2DFaceletViewHandler] Problem in renderResponse: replacement    icefaces.org

15:01:43,328 ERROR [D2DFaceletViewHandler] Problem in renderResponse: replacement java.lang.NullPointerException: replacement at java.util.regex.Matcher.replaceFirst(Unknown Source) at java.lang.String.replaceFirst(Unknown Source) at com.icesoft.faces.facelets.D2DFaceletViewHandler.getRenderedViewId(D2DFaceletViewHandler.java:231) at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:245) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:268) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137) at com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:390) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658) at org.apache.jsp.index_jsp._jspService(index_jsp.java:49) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) ...





10. panelGrid disappears partially on partialSubmit when D2DFaceletViewHandler is used    icefaces.org

Hi, I have a simple xhtml file with nested ice:panelGrid (ice="http://www.icesoft.com/icefaces/component") containing ice:inputText components with partialSubmit=true. When i enter text in the textinput and tab out, half the panelGrid just disappears leaving (lets say) 3 textinput components. After i enter text in the remaining 3 textinputs and tab out, the complete panelGrid appears back. This is very annoying as I am ...

12. Acegi problem D2DFaceletViewHandler    icefaces.org

13. D2DFaceletViewHandler doesn't accept several tag libraries    icefaces.org

[WARN] D2DFaceletViewHandler - Problem loading library: /WEB-INF/facelets/tagsToRefactor/customTags.taglib.xml java.net.MalformedURLException: /WEB-INF/facelets/tagsToRefactor/customTags.taglib.xml at org.mortbay.jetty.handler.ContextHandler.getResource(ContextHandler.java:1193) at org.mortbay.jetty.webapp.WebAppContext.getResource(WebAppContext.java:398) at org.mortbay.jetty.handler.ContextHandler$SContext.getResource(ContextHandler.java:1409) at com.icesoft.faces.webapp.http.servlet.ServletExternalContext.getResource(ServletExternalContext.java:193) at com.icesoft.faces.facelets.D2DFaceletViewHandler.initializeCompiler(D2DFaceletViewHandler.java:129) at com.icesoft.faces.facelets.D2DFaceletViewHandler.faceletInitialize(D2DFaceletViewHandler.java:100) at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:264) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:161) at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18) at com.icesoft.faces.webapp.http.core.PageServer$1.respond(PageServer.java:25) at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:161) at com.icesoft.faces.webapp.http.servlet.ContinuationAdaptingServlet$ContinuationRequestResponse.respondWith(Con tinuationAdaptingServlet.java:49) at com.icesoft.faces.webapp.http.core.PageServer.service(PageServer.java:30) at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:56) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServe r.java:50) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19) at com.icesoft.faces.webapp.http.servlet.ContinuationAdaptingServlet.service(ContinuationAdaptingServlet.java:29 ) at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:139) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35) at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29) ...

14. Null pointer exception in D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:268)    icefaces.org

I'm getting the same error with Tomcat 6 and IceFaces 1.7.2. Other possibly relevant versions are Mojarra 1.2_08 and Facelets 1.14. Ooops. I had incorrectly replaced the standard Faces Servlet in my .jsf extension mapping with the ICEFaces Persistent Faces Servlet to try to resolve an earlier stack trace. Once I reverted the Persistent servlet mapping to *.iface, it began working. ...