ICEfaces
  1. ICEfaces
  2. ICE-10771

ace:panelStack PropertyNotFoundException for ice:dataTable rowDataModel

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P04
    • Fix Version/s: EE-3.3.0.GA_P04
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      jsf2.1

      Description

      use iceMock5 test case located at :-
      smb://iceads1.icesoft.domain/Public/Users/mircea/iceMock-1.0-SNAPSHOT.war
      deploy to tomcat 7
      click on "medium" button and then scroll down to "Do Something" button.
      ul 30, 2015 4:12:18 PM com.sun.faces.lifecycle.ApplyRequestValuesPhase execute
      WARNING: javax.el.PropertyNotFoundException: /WEB-INF/pages/renderers/_renderRelation.xhtml @14,25 value="#{fieldprxy.rowDataModel}": Property 'rowDataModel' not found on type com.ciminc.icemock.FieldProxy
      javax.faces.FacesException: javax.el.PropertyNotFoundException: /WEB-INF/pages/renderers/_renderRelation.xhtml @14,25 value="#{fieldprxy.rowDataModel}": Property 'rowDataModel' not found on type com.ciminc.icemock.FieldProxy
      at com.icesoft.faces.component.panelseries.UISeries.getValue(UISeries.java:66)
      at com.icesoft.faces.component.panelseries.PanelSeries.saveChild(PanelSeries.java:132)
      at org.icefaces.impl.component.UISeriesBase.saveChildState(UISeriesBase.java:772)
      at org.icefaces.impl.component.UISeriesBase.saveChildState(UISeriesBase.java:775)
      at org.icefaces.impl.component.UISeriesBase.saveChildState(UISeriesBase.java:775)
      at org.icefaces.impl.component.UISeriesBase.saveChildState(UISeriesBase.java:775)
      at org.icefaces.impl.component.UISeriesBase.saveChildState(UISeriesBase.java:775)
      at org.icefaces.impl.component.UISeriesBase.saveChildState(UISeriesBase.java:775)
      at org.icefaces.impl.component.UISeriesBase.saveChildState(UISeriesBase.java:775)
      at org.icefaces.impl.component.UISeriesBase.saveChildState(UISeriesBase.java:775)
      at org.icefaces.impl.component.UISeriesBase.saveChildrenState(UISeriesBase.java:766)
      at org.icefaces.impl.component.UISeriesBase.setRowIndex(UISeriesBase.java:123)
      at org.icefaces.impl.component.UISeriesBase.iterate(UISeriesBase.java:619)
      at org.icefaces.impl.component.UISeriesBase.processDecodes(UISeriesBase.java:520)
      at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1178)
      at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1178)
      at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1178)
      at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:925)


      FieldProxySubClass should be the underlying object for that iteration of the panelstack.

      Notice in the FieldProxyGenerator line 74.
                  case 3:
                      fld.setGuiObject(FieldDefinition.GUIObject.RELATIONTABLE);
                      FieldProxySubClass assocFieldProxy = new FieldProxySubClass(fld, null);
                      proxy = assocFieldProxy;
                      break;

      Also If you notice in the _renderRelation.xhtml there is an expression #{fieldprxy.specializedVariable} which you can see renders properly in the display panel. But when you click the buttton you get an exception.

      for markup... see /pages/_renderRelation.xhtml in project.

        Activity

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: