[
https://issues.apache.org/jira/browse/TRINIDAD-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Scott O'Bryan updated TRINIDAD-2019:
------------------------------------
Status: Patch Available (was: Open)
> ClassCastException on StampState$TableState when using Mojarra
> --------------------------------------------------------------
>
> Key: TRINIDAD-2019
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2019
> Project: MyFaces Trinidad
> Issue Type: Bug
> Affects Versions: 2.0.0-alpha, 2.0.0-alpha-2
> Reporter: Scott O'Bryan
> Assignee: Scott O'Bryan
> Attachments: TRINIDAD-2019.patch
>
>
> When a UIX Collection object is put inside of a component (such as a
> switcher which has a list of facets) and it then put inside of another panel
> collection, Mojarra can sometimes change the heirarcy of the stamped
> component by inserting a UIPanel during a PPR. This has the effect of
> generating a ClassCastException when StampState$TableState tries to cast the
> component to a UIXCollection so that table-in-table can be supported.
> This issue ONLY happens in this specific circumstance where the switcher has
> only one component in the facet and we have a collection inside of another
> collection. Although this is a bug with Mojarra, the patch is fairly
> straight forward and if we see a UIPanel instead of a UIXCollection, we
> should, instead, sent the StampState to the UIPanel's single child.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.