ICEfaces
  1. ICEfaces
  2. ICE-8180

ace:ajax - PropertyNotFoundException thrown

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0.BETA1
    • Fix Version/s: 3.1.0.RC1, 3.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3.1.0 BETA1
    • Assignee Priority:
      P2
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Defining the param outside the ui:include works around this issue. Eg.

              <h:form id="iceForm">
                  
                  <ui:include src="table.xhtml"/>
                  <ui:param name="backingBean" value="#{testBean}"/>

              </h:form>

      Where the param is also identically defined in table.xhtml.
      Show
      Defining the param outside the ui:include works around this issue. Eg.         <h:form id="iceForm">                          <ui:include src="table.xhtml"/>             <ui:param name="backingBean" value="#{testBean}"/>         </h:form> Where the param is also identically defined in table.xhtml.

      Description

      A PropertyNotFoundException is thrown when setting the listener attribute thats managed bean is set via a ui:param tag. The ace:ajax tag is set for a row select event for an ace:dataTable. The table code is being included in a main page via a ui:include. The included table page sets a ui:param name="'backingBean" thats value is the managed bean.

      The ace:dataTable uses the same param and works correctly. When a row is selected the ace:ajax tag fires its listener and throws the following error:

      Caused by: javax.el.PropertyNotFoundException: Target Unreachable, identifier 'backingBean' resolved to null
      at org.apache.el.parser.AstValue.getTarget(AstValue.java:98)
      at org.apache.el.parser.AstValue.invoke(AstValue.java:244)
      at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)
      at org.icefaces.ace.component.ajax.AjaxBehavior.broadcast(AjaxBehavior.java:170)
      at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:760)
      at javax.faces.component.UIData.broadcast(UIData.java:1071)
      at org.icefaces.ace.component.datatable.DataTable.broadcast(DataTable.java:220)
      at javax.faces.component.UIData.broadcast(UIData.java:1093)
      at org.icefaces.ace.component.datatable.DataTable.broadcast(DataTable.java:220)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
      at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)

        Issue Links

          Activity

          Arran Mccullough created issue -
          Arran Mccullough made changes -
          Field Original Value New Value
          Attachment Case11294Example.zip [ 14486 ]
          Attachment Case11294ExampleWAR.zip [ 14487 ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 3.1.0.BETA2 [ 10336 ]
          Fix Version/s 3.1 [ 10312 ]
          Assignee Priority P1
          Assignee Nils Lundquist [ nils.lundquist ]
          Nils Lundquist made changes -
          Workaround Description Defining the param outside the ui:include works around this issue. Eg.

                  <h:form id="iceForm">
                      
                      <ui:include src="table.xhtml"/>
                      <ui:param name="backingBean" value="#{testBean}"/>

                  </h:form>

          Where the param is also identically defined in table.xhtml.
          Workaround Exists [Yes]
          Salesforce Case []
          Nils Lundquist made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]
          Ken Fyten made changes -
          Resolution Won't Fix [ 2 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Assignee Nils Lundquist [ nils.lundquist ] Mark Collette [ mark.collette ]
          Mark Collette made changes -
          Assignee Mark Collette [ mark.collette ] Arran Mccullough [ arran.mccullough ]
          Ken Fyten made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Arran Mccullough made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Arran Mccullough made changes -
          Assignee Arran Mccullough [ arran.mccullough ] Mark Collette [ mark.collette ]
          Arran Mccullough made changes -
          Attachment Case11294Example.zip [ 14486 ]
          Arran Mccullough made changes -
          Attachment Case11294ExampleWAR.zip [ 14487 ]
          Arran Mccullough made changes -
          Attachment Case11294Example.war [ 14544 ]
          Attachment Case11294Example.zip [ 14545 ]
          Ken Fyten made changes -
          Fix Version/s 3.1.0.RC1 [ 10337 ]
          Fix Version/s 3.1.0.BETA2 [ 10336 ]
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Priority P1 P2
          Mark Collette made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Mark Collette made changes -
          Link This issue blocks ICE-8223 [ ICE-8223 ]
          Mark Collette made changes -
          Link This issue blocks ICE-8260 [ ICE-8260 ]
          Mark Collette made changes -
          Link This issue blocks ICE-8260 [ ICE-8260 ]
          Mark Collette made changes -
          Link This issue blocks ICE-8258 [ ICE-8258 ]
          Mark Collette made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Mark Collette made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Mark Collette
              Reporter:
              Arran Mccullough
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: