[ 
https://issues.apache.org/jira/browse/MFCOMMONS-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gilles Demarty updated MFCOMMONS-2:
-----------------------------------

    Status: Patch Available  (was: Open)

> ExporterActionListener should be dependant of UIData instead of HtmlDataTable
> -----------------------------------------------------------------------------
>
>                 Key: MFCOMMONS-2
>                 URL: https://issues.apache.org/jira/browse/MFCOMMONS-2
>             Project: MyFaces Commons
>          Issue Type: Bug
>          Components: myfaces-commons-components
>    Affects Versions: 1.0.1-SNAPSHOT
>         Environment: myfaces 1.2.4 + richfaces 3.2.2.SR1 + jetty
>            Reporter: Gilles Demarty
>         Attachments: switch-HtmlDataTable-To-UIData-patch.txt
>
>
> Right now, the component <mc:exporterActionListener /> cast the for attribute 
> as a htmlDataTable. It does not allow other implementations of UIData to be 
> used with this component (e.g. richfaces one). Is there any reasons to do 
> that ? 
> Changing all the htmlDataTable to UIData in those classes provides a 
> satisfying solution without any visible drawbacks.
> By the way, in ExporterActionListenr, the cast cast test that throws the 
> correct message is thrown after the cast, thus the message return in the web 
> page is a ClassCastException, not a RuntimeException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to