[richfaces-issues] [JBoss JIRA] Created: (RF-6927) Tree with contextMenu: browser context menu is shown instead of rich:context menu after the 1th right click in case rightClickSelection=true and ajaxSubmitSelection=true

Alexander Dubovsky (JIRA) jira-events at lists.jboss.org
Fri Apr 24 09:56:46 EDT 2009


Tree with contextMenu: browser context menu is shown instead of rich:context menu after the 1th right click in case rightClickSelection=true and ajaxSubmitSelection=true
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: RF-6927
                 URL: https://jira.jboss.org/jira/browse/RF-6927
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.1
         Environment: 3.3.1.BETA5
            Reporter: Alexander Dubovsky
            Assignee: Nick Belaevski


Source:
<h:form>
		<rich:tree id="dTree" value="#{tree.data}" rightClickSelection="true"
			var="var" ajaxSubmitSelection="true">
			<rich:treeNode>
				<h:outputText id="text" value="#{var}">
					<rich:contextMenu>
						<rich:menuItem value="it-1" action="#{tree.action1}"></rich:menuItem>
						<rich:menuItem value="it-1" action="#{tree.action2}"></rich:menuItem>
					</rich:contextMenu>
				</h:outputText>
			</rich:treeNode>
		</rich:tree>
	</h:form>

# Open page. Expand tree.
# Make right click on any tree node
Result: browser context menu is shown
# Make right click for the same node again
Result: only now rich:contextMenu is shown

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