Uploaded image for project: 'MyFaces Commons'
  1. MyFaces Commons
  2. MFCOMMONS-2

ExporterActionListener should be dependant of UIData instead of HtmlDataTable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 1.0.1-SNAPSHOT
    • None
    • None
    • myfaces 1.2.4 + richfaces 3.2.2.SR1 + jetty

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            gdemarty Gilles Demarty
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: