deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (DELTASPIKE-348) WindowScope stuff breaks ICEfaces
Date Mon, 06 May 2013 19:26:16 GMT

    [ https://issues.apache.org/jira/browse/DELTASPIKE-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13650018#comment-13650018
] 

Mark Struberg edited comment on DELTASPIKE-348 at 5/6/13 7:25 PM:
------------------------------------------------------------------

Hi!

I've used the following code to set the render mode to NONE. Locally it did have no impact
on the JSF components I tested (PrimeFaces and RichFaces).

{code}
@Specializes
public class SampleClientWindowConfig extends DefaultClientWindowConfig
{
    @Override
    public ClientWindowRenderMode getClientWindowRenderMode(FacesContext facesContext)
    {
        return ClientWindowRenderMode.NONE;
    }
}
{code}

--Could you be a bit more explicit? Which version of ICEfaces do you use and on which container?--
*edit* sorry too late, seen the versions as above. Can you plz try with the disabled ClientWindowConfig?
We do not do much in rendered() - just delegating through...


                
      was (Author: struberg):
    Hi!

I've used the following code to set the render mode to NONE. Locally it did have no impact
on the JSF components I tested (PrimeFaces and RichFaces).

{code}
@Specializes
public class SampleClientWindowConfig extends DefaultClientWindowConfig
{
    @Override
    public ClientWindowRenderMode getClientWindowRenderMode(FacesContext facesContext)
    {
        return ClientWindowRenderMode.NONE;
    }
}
{code}

Could you be a bit more explicit? Which version of ICEfaces do you use and on which container?


                  
> WindowScope stuff breaks ICEfaces
> ---------------------------------
>
>                 Key: DELTASPIKE-348
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-348
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: JSF-Module
>    Affects Versions: 0.4-incubating
>            Reporter: Nicklas Karlsson
>            Assignee: Mark Struberg
>             Fix For: 0.4-incubating
>
>
> Calling any JSF action gives a 
> 13:54:29,443 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (http-localhost/127.0.0.1:80-1)
Error Rendering View[/OSTi.xhtml]: java.lang.RuntimeException: failed to append element[tag:
html; attributes: ] into #document
> 	at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:411)
[icefaces-3.1.0.jar:]
> 	at org.icefaces.impl.context.DOMResponseWriter.startElement(DOMResponseWriter.java:262)
[icefaces-3.1.0.jar:]
> 	at com.sun.faces.facelets.compiler.StartElementInstruction.write(StartElementInstruction.java:75)
[jsf-impl-2.1.19.jar:2.1.19]
> 	at com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:82)
[jsf-impl-2.1.19.jar:2.1.19]
> 	at com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:183) [jsf-impl-2.1.19.jar:2.1.19]
> 	at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:142)
[icefaces-3.1.0.jar:]
> 	at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:973) [jsf-api-2.1.19.jar:2.1]
> 	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779) [jsf-api-2.1.19.jar:2.1]
> 	at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:413)
[jsf-impl-2.1.19.jar:2.1.19]
> 	at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:124)
[jsf-impl-2.1.19.jar:2.1.19]
> 	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
[jsf-api-2.1.19.jar:2.1]
> 	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
[jsf-api-2.1.19.jar:2.1]
> 	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
[jsf-impl-2.1.19.jar:2.1.19]
> 	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.19.jar:2.1.19]
> 	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.19.jar:2.1.19]
> 	at org.apache.deltaspike.jsf.impl.listener.request.DeltaSpikeLifecycleWrapper.render(DeltaSpikeLifecycleWrapper.java:94)
[deltaspike-jsf-module-impl-0.4-incubating-SNAPSHOT.jar:0.4-incubating-SNAPSHOT]
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jsf-api-2.1.19.jar:2.1]
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
[jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at fi.affecto.marela.framework.logging.MDCFilter.doFilter(MDCFilter.java:33) [framework-1.0.0-SNAPSHOT.jar:]
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at fi.affecto.marela.framework.audit.ForcedLogoutFilter.doFilter(ForcedLogoutFilter.java:40)
[framework-1.0.0-SNAPSHOT.jar:]
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at fi.affecto.marela.framework.audit.OfflineFilter.doFilter(OfflineFilter.java:47) [framework-1.0.0-SNAPSHOT.jar:]
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at fi.affecto.marela.framework.exception.DSExceptionIntegration.doFilter(DSExceptionIntegration.java:29)
[framework-1.0.0-SNAPSHOT.jar:]
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
[jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
[jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
[jboss-as-jpa-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
> 	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
[jboss-as-jpa-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
> 	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
[jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
[jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
[jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> 	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]
> Caused by: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert
a node where it is not permitted. 
> 	at org.apache.xerces.dom.CoreDocumentImpl.insertBefore(Unknown Source)
> 	at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source)
> 	at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:406)
[icefaces-3.1.0.jar:]
> 	... 43 more
> Fails even with ClientWindowRenderMode.NONE. Reverting DS back a week or so makes it
work again.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message