Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-2.0.0.GA
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Mojarra 2.1.2, Tomcat 6.0.32
-
Assignee Priority:P2
Description
19.08.2011 16:00:37 com.sun.faces.lifecycle.InvokeApplicationPhase execute
WARNUNG: /resources/table/myAction.xhtml @17,103 target="#{cc.attrs.actionBean[cc.attrs.propertyName]}": Target Unreachable, identifier 'cc' resolved to null
javax.el.PropertyNotFoundException: /resources/table/myAction.xhtml @17,103 target="#{cc.attrs.actionBean[cc.attrs.propertyName]}": Target Unreachable, identifier 'cc' resolved to null
at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:100)
at com.sun.faces.facelets.tag.jsf.core.SetPropertyActionListenerHandler$SetPropertyListener.processAction(SetPropertyActionListenerHandler.java:204)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:769)
at javax.faces.component.UICommand.broadcast(UICommand.java:300)
at com.icesoft.faces.component.panelseries.UISeries$RowEvent.broadcast(UISeries.java:622)
at com.icesoft.faces.component.panelseries.UISeries.broadcast(UISeries.java:284)
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)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
Given this composition:
<ice:dataTable var="item" value="#
{myBean.content}">
{myBean}<ice:column>
<t:myAction value="got exception" actionBean="#
" />
</ice:column>
</ice:dataTable>
myAction:
{cc.attrs.value}<cc:implementation>
<h:commandButton value="#
" action="#
{cc.attrs.actionBean[cc.attrs.actionName]}" >
{cc.attrs.actionBean[cc.attrs.propertyName]}<f:setPropertyActionListener value="bla" target="#
" />
</h:commandButton>
</cc:implementation>
The cc variable cannot be resolved for <f:setPropertyActionListener>