[richfaces-issues] [JBoss JIRA] Created: (RF-1469) contextMenu: a4j submit() does not work
Aleksej Yanul (JIRA)
jira-events at lists.jboss.org
Fri Nov 30 08:42:46 EST 2007
contextMenu: a4j submit() does not work
---------------------------------------
Key: RF-1469
URL: http://jira.jboss.com/jira/browse/RF-1469
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Reporter: Aleksej Yanul
Assigned To: Nick Belaevski
<rich:panel style="width: 130px; height: 50px; background-color: #98FB98;">
<h:outputText value="panel with contextMenu(Test)" />
<rich:contextMenu id="contextMenuID" attached="#{contextMenu.attached}" submitMode="ajax"
event="#{contextMenu.event}" disableDefaultMenu="#{contextMenu.disableDefaultMenu}" rendered="#{contextMenu.rendered}"
hideDelay="#{contextMenu.hideDelay}" showDelay="#{contextMenu.showDelay}" popupWidth="#{contextMenu.popupWidth}">
<rich:menuItem icon="/pics/header.png" value="abc" reRender="cmInfoID">
<f:param name="cmdParam" value="abc" />
</rich:menuItem>
</rich:contextMenu>
</rich:panel>
<h:panelGrid id="cmInfoID" olumns="2">
<h:outputText value="Select items: " />
<h:outputText value="#{contextMenu.info}" style="color: red" />
</h:panelGrid>
////// -= code =-////////////////
public String getInfo() {
FacesContext facesContext = FacesContext.getCurrentInstance();
Map params = facesContext.getExternalContext().getRequestParameterMap();
String cmdParam = (String) params.get("cmdParam");
if (cmdParam != null) info = cmdParam;
return info;
}
--
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