Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha3
-
Fix Version/s: 2.0-Alpha2, 2.0.0
-
Component/s: Framework
-
Labels:None
-
Environment:ICEfaces
Description
When using the <f:ajax> tag, the following stack trace is observed:
org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(CoreDocumentImpl.java:419)
at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.java:275)
at org.icefaces.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:401)
at org.icefaces.context.DOMResponseWriter.startElement(DOMResponseWriter.java:236)
at com.sun.faces.facelets.compiler.StartElementInstruction.write(StartElementInstruction.java:68)
at com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:74)
at com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:178)
at org.icefaces.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:102)
at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:989)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1609)
This is due to a script node being placed in the DOM outside of the html element, causing an attempt to create an XML document with two root elements.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18895 | Tue May 19 13:14:48 MDT 2009 | ted.goddard | render only children, not facets during ajax ( |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/context/DOMPartialViewContext.java
|