[richfaces-issues] [JBoss JIRA] Resolved: (RF-2360) Tree: node context missing for nested components
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Sat Mar 1 08:24:57 EST 2008
[ http://jira.jboss.com/jira/browse/RF-2360?page=all ]
Nick Belaevski resolved RF-2360.
--------------------------------
Resolution: Rejected
Error in example code
> Tree: node context missing for nested components
> ------------------------------------------------
>
> Key: RF-2360
> URL: http://jira.jboss.com/jira/browse/RF-2360
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.0
> Reporter: Nick Belaevski
> Assigned To: Nick Belaevski
> Priority: Critical
> Fix For: 3.2.0
>
>
> <rich:tree id="swingTree" ajaxSubmitSelection="false" toggleOnClick="false"
> switchType="client" value="#{bean.swingTreeNodes}" var="data"
> preserveModel="none">
> <rich:treeNode ajaxSubmitSelection="false">
> <a4j:commandLink action="#{item.action}">
> <h:outputText value="#{data.data}" />
> </a4j:commandLink>
> </rich:treeNode>
> </rich:tree>
> Clicking node causes:
> org.apache.jasper.el.JspPropertyNotFoundException: /pages/index.jsp(196,7) '#{item.action}' Target Unreachable, identifier 'item' resolved to null
> org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:74)
> javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
> javax.faces.component.UICommand.broadcast(UICommand.java:387)
> org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:62)
> org.ajax4jsf.component.UIDataAdaptor.broadcast(UIDataAdaptor.java:1225)
> org.richfaces.component.UITree.broadcast(UITree.java:484)
> org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
> org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
> org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
> com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
> org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:143)
> org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list