ICEfaces
  1. ICEfaces
  2. ICE-7809

UISeriesBase uses Mojarra-specific setDataModel() incompatible with MyFaces

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.0.0.BETA
    • Fix Version/s: 3.0.1, EE-3.0.0.GA
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      n/a

      Description

      The UISeriesBase which the ICEfaces HtmlDataTable and UISeries inherit from, uses the following code which appears to be Mojarra-specific:

      if (isNestedWithinUIData()) {
            setDataModel(null);
      }

      setDataModel() appears to be called if the component is nested within another UIData component. When run with MyFaces (tested with 2.1.6), the following error is generated:

      <error>
          <error-name>java.lang.UnsupportedOperationException</error-name>
          <error-message><![CDATA[this method is here only to maintain binary compatibility w/ the RI]]></error-message>
      </error>

      This error appears to originate from the MyFaces UIData component:

      protected void setDataModel(DataModel dataModel){
              throw new UnsupportedOperationException("this method is here only to maintain binary compatibility w/ the RI");
      }

       

        Issue Links

          Activity

            People

            • Assignee:
              Mark Collette
              Reporter:
              Philip Breau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: