[JBoss JIRA] Created: (RF-2281) PanelMenu: JS error
by Ilya Shaikovsky (JIRA)
PanelMenu: JS error
-------------------
Key: RF-2281
URL: http://jira.jboss.com/jira/browse/RF-2281
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: JSF 1.2
Facelets 1.1.14
RF 3.2.0
Reporter: Ilya Shaikovsky
Assigned To: Nick Belaevski
Fix For: 3.2.0
<h:form id="form">
<rich:panelMenu>
<rich:panelMenuGroup label="label">
<rich:panelMenuItem label="test"/>
</rich:panelMenuGroup>
<rich:panelMenuGroup label="label">
<rich:panelMenuItem label="test"/>
</rich:panelMenuGroup>
<rich:panelMenuGroup label="label">
<rich:panelMenuItem label="test"/>
</rich:panelMenuGroup>
</rich:panelMenu>
</h:form>
throws:
this.labelArea has no properties
http://localhost:8080/suggestion/a4j_3_2_0-SNAPSHOTorg/richfaces/renderki...
Line 80
initialize(Object, Object myId=form:j_id4 parentId=form:j_id3, Object type=node onopen=; onclose=; event=click mode=none, Object, ["dr-pmenu-hovered-element", "rich-pmenu-hovered-element"], 0, true, false, false, "A4J.AJAX.Submit('_viewRoot','form',event,{'parameters':{'form:j_id4':'form:j_id4'} ,'actionUrl':'/su...", "", "left", "/suggestion/a4j_3_2_0-SNAPSHOTorg.richfaces.renderkit.html.iconimages.PanelMenuIconSpacer/DATB/eAFjY...", "/suggestion/a4j_3_2_0-SNAPSHOTorg.richfaces.renderkit.html.iconimages.PanelMenuIconSpacer/DATB/eAFjY...", "/suggestion/a4j_3_2_0-SNAPSHOTorg.richfaces.renderkit.html.iconimages.PanelMenuIconSpacer/DATB/eAFjY...")panelMenu.js.jsf (line 80)
klass()a4j_3_2_0-SNAPSHO... (line 50)
[Break on this error] this.rightIcon = this.labelArea.nextSibling.firstChild;
--
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
17 years, 11 months
[JBoss JIRA] Created: (RF-2360) Tree: node context missing for nested components
by Nick Belaevski (JIRA)
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
17 years, 11 months