You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Grant Smith (JIRA)" <my...@incubator.apache.org> on 2005/07/13 17:55:13 UTC
[jira] Closed: (MYFACES-232) classcast exception in HtmlDataTableHack
[ http://issues.apache.org/jira/browse/MYFACES-232?page=all ]
Grant Smith closed MYFACES-232:
-------------------------------
Fix Version: Nightly Build
Resolution: Fixed
Thanks for the update
> classcast exception in HtmlDataTableHack
> ----------------------------------------
>
> Key: MYFACES-232
> URL: http://issues.apache.org/jira/browse/MYFACES-232
> Project: MyFaces
> Type: Bug
> Environment: Eclipse 3.1 Windows
> Reporter: Eyal Grundstein
> Fix For: Nightly Build
>
> I am building a custom tabbed pane component. When moving between a tab that contains an x:datatable to any other tab, I receive this error:
> java.lang.ClassCastException: org.apache.myfaces.component.html.ext.HtmlDataTableHack$1
> org.apache.myfaces.component.html.ext.HtmlDataTable.getRows(HtmlDataTable.java:547)
> org.apache.myfaces.component.html.ext.HtmlDataTableHack.refreshDescendantDataStates(HtmlDataTableHack.java:167)
> org.apache.myfaces.component.html.ext.HtmlDataTableHack.saveDescendantComponentStates(HtmlDataTableHack.java:129)
> org.apache.myfaces.component.html.ext.HtmlDataTableHack.setRowIndex(HtmlDataTableHack.java:71)
> org.apache.myfaces.component.html.ext.HtmlDataTable.setRowIndex(HtmlDataTable.java:186)
> javax.faces.component.UIData.processDecodes(UIData.java:674)
> org.apache.myfaces.component.html.ext.HtmlDataTable.processDecodes(HtmlDataTable.java:202)
> javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:407)
> com.sun.j2ee.blueprints.bpcatalog.tabbedview.components.PaneComponent.processDecodes(PaneComponent.java:49)
> com.sun.j2ee.blueprints.bpcatalog.tabbedview.components.PaneComponent.processDecodes(PaneComponent.java:49)
> javax.faces.component.UIForm.processDecodes(UIForm.java:51)
> javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:407)
> javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:151)
> org.apache.myfaces.lifecycle.LifecycleImpl.applyRequestValues(LifecycleImpl.java:177)
> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:87)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
> org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:112)
> Without using the tabbed panes, the datatables show up perfectly on the page.
> The datatables are included JSF files, nested inside the tab pane.
> Any ideas as to why this is happening? What is the HtmlDataTableHack?
> Best regards
> Eyal Grundstein
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira