[richfaces-issues] [JBoss JIRA] Updated: (RF-1469) contextMenu: a4j submit() does not work

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Fri Nov 30 12:19:46 EST 2007


     [ http://jira.jboss.com/jira/browse/RF-1469?page=all ]

Nick Belaevski updated RF-1469:
-------------------------------

    Fix Version/s: 3.1.3
         Assignee: Maksim Kaszynski  (was: Nick Belaevski)

> 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
>         Environment: jsf 1.1
> tomcat 6.0.13
> FF
>            Reporter: Aleksej Yanul
>         Assigned To: Maksim Kaszynski
>             Fix For: 3.1.3
>
>
> 		<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