[JBoss JIRA] Created: (RF-6651) Menu Item not working in JSF 1.2
by Visalakshi Dhara (JIRA)
Menu Item not working in JSF 1.2
--------------------------------
Key: RF-6651
URL: https://jira.jboss.org/jira/browse/RF-6651
Project: RichFaces
Issue Type: Bug
Environment: JSF 1.2
Firefox 3
IE 7
Reporter: Visalakshi Dhara
Priority: Blocker
Getting Javascript error when trying to call backing bean methods using the action attribute from Menu Item.
The code looks as follows
<h:form>
<rich:toolBar>
<rich:dropDownMenu>
<f:facet name="label">
<h:panelGroup>
<h:graphicImage value="/images/icons/copy.gif" styleClass="pic"/>
<h:outputText value="File"/>
</h:panelGroup>
</f:facet>
<rich:menuItem action="#{testBean.testMethod}" submitMode="server" value="New">
</rich:menuItem>
</rich:dropDownMenu>
</rich:toolBar>
</h:form>
Javascript error is :
userAgentButton is null
getElementByTagName()(Document index.do, "link")framework.pack.js (line 6458)
f()()framework.pack.js (line 6462)
[Break on this error] try{E=B.selectNodes('.//*[local-name()="'+A+'"]')
Jars that are being used
myfaces-api-1.2.6.jar
myfaces-impl-1.2.6.jar
richfaces-api-3.3.0.GA.jar
richfaces-impl-3.3.0.GA.jar
richfaces-ui-3.3.0.GA.jar
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 8 months