[richfaces-issues] [JBoss JIRA] Commented: (RF-6739) Context menu reappears when menu item is clicked

Nils ten Hoeve (JIRA) jira-events at lists.jboss.org
Fri Apr 10 06:17:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/RF-6739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12461614#action_12461614 ] 

Nils ten Hoeve commented on RF-6739:
------------------------------------

Thanks Nick, the onmousedown seems to work for me!

> Context menu reappears when menu item is clicked
> ------------------------------------------------
>
>                 Key: RF-6739
>                 URL: https://jira.jboss.org/jira/browse/RF-6739
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>         Environment: Win XP, Java 6, Apache Tomcat 6, IE7
>            Reporter: Nils ten Hoeve
>            Assignee: Nick Belaevski
>             Fix For: Future
>
>
> I have a tree that shows a context menu that is triggered by the onclick event of a tree node. The context menu reappears on the location where a menu item is clicked (unwanted behavior). It works fine when using the oncontextmenu event. The problem is that I need a left-click to trigger the context menu.  
> <rich:tree switchType="client" selectedClass="active" toggleOnClick="true">
> 	<rich:recursiveTreeNodesAdaptor roots="#{menu.rootNode}" var="node" nodes="#{node.children}">
> 		<rich:treeNode>
> 			<h:outputText value="#{node.class.simpleName}" />
> 			<rich:contextMenu event="onclick"  submitMode="ajax">
> 				<rich:menuItem value="Test" actionListener="#{menu.test}"></rich:menuItem>
> 			</rich:contextMenu>
> 		</rich:treeNode>
> 	</rich:recursiveTreeNodesAdaptor>
> </rich:tree>

-- 
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

        



More information about the richfaces-issues mailing list