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

          Philip Breau created issue -
          Philip Breau made changes -
          Field Original Value New Value
          Assignee Ken Fyten [ ken.fyten ]
          Philip Breau made changes -
          Link This issue blocks IPCK-360 [ IPCK-360 ]
          Philip Breau made changes -
          Link This issue blocks IPCK-362 [ IPCK-362 ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s EE-3.0.0.GA [ 10262 ]
          Assignee Priority P1
          Assignee Ken Fyten [ ken.fyten ] Mark Collette [ mark.collette ]
          Mark Collette made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 3.0.1 [ 10282 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P1

            People

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

              Dates

              • Created:
                Updated:
                Resolved: