Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.1.0.BETA1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 3.1.0 BETA1
-
Assignee Priority:P2
-
Workaround Exists:Yes
-
Workaround Description:
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)
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 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29289 | Mon Jun 04 19:16:59 MDT 2012 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/facelets/MethodRule.java
MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/ajax/AjaxBehaviorHandler.java MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/ajax/AjaxBehavior.java |
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 -
Mark Collette
made changes -
Mark Collette
made changes -
Mark Collette
made changes -
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 ] |
Attached test case that shows issue.
Steps: