[ 
http://issues.apache.org/jira/browse/MYFACES-232?page=comments#action_12315714 
] 

Thomas Huber commented on MYFACES-232:
--------------------------------------

This bug seems to have been fixed, we could not reproduce it with the most 
current myFaces version fom svn.current.
we tested it on the 12.07.2005.

> 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

>
> 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

Reply via email to