Hi,
I just wanted to add a delete confirmation dialog to a page but when I
confirm (or cancel) the dialog I always get this exception:
0000005a _ErrorPageWri E org.apache.geronimo.kernel.log.GeronimoLog error An
exception occurred
java.lang.ClassCastException:
org.apache.myfaces.trinidad.component.UIXCollection$Transient incompatible
with [Ljava.lang.Object;
at
org.apache.myfaces.trinidad.component.StampState.restoreChildStampState(StampState.java:207)
at
org.apache.myfaces.trinidad.component.UIXTable.restoreStampState(UIXTable.java:426)
at
org.apache.myfaces.trinidad.component.UIXCollection._restoreStampState(UIXCollection.java:1350)
at
org.apache.myfaces.trinidad.component.UIXCollection.postRowDataChange(UIXCollection.java:745)
at
org.apache.myfaces.trinidad.component.UIXCollection.setRowKey(UIXCollection.java:424)
at
org.apache.myfaces.trinidad.component.UIXCollection.setClientRowKey(UIXCollection.java:653)
at
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.table.TableSelectOneRenderer.decode(TableSelectOneRenderer.java:92)
at
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.TableRenderer.decodeSelection(TableRenderer.java:136)
at
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.TableRenderer.decode(TableRenderer.java:102)
at
org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1107)
at
org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:701)
at
org.apache.myfaces.trinidad.component.UIXTable.decode(UIXTable.java:137)
at
org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:187)
at
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:705)
at javax.faces.component.UIForm.processDecodes(UIForm.java:65)
at
org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at
org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
at
org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:705)
at javax.faces.component.UIViewRoot.access$001(UIViewRoot.java:62)
at javax.faces.component.UIViewRoot$1.process(UIViewRoot.java:121)
at javax.faces.component.UIViewRoot.process(UIViewRoot.java:260)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:117)
at
org.apache.myfaces.lifecycle.ApplyRequestValuesExecutor.execute(ApplyRequestValuesExecutor.java:32)
at
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103)
at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:178)
at
org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:103)
I have some other pages with dialogs and they work flawlessly, only on this
very page I get the exception and to me it looks as if it has something to
do with the table on it. But I have no clue what to do about it. Any
suggestions are much appreciated.
Cheers
Simon
--
View this message in context:
http://old.nabble.com/-TRINIDAD--ClassCastException-when-returning-from-dialog-tp27770642p27770642.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.