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

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #28145 Sat Mar 03 00:10:45 MST 2012 mark.collette ICE-7809 : UISeriesBase uses Mojarra-specific setDataModel() incompatible with MyFaces
          Files Changed
          Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/core/src/main/java/org/icefaces/impl/component/UISeriesBase.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #28144 Fri Mar 02 23:58:40 MST 2012 mark.collette ICE-7809 : UISeriesBase uses Mojarra-specific setDataModel() incompatible with MyFaces
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/component/UISeriesBase.java

            People

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

              Dates

              • Created:
                Updated:
                Resolved: