[richfaces-issues] [JBoss JIRA] (RF-12110) [rich:contextMenu] contextmenu doesn't work anymore if an ajax request is fired while contextmenu is visible

Rene O (JIRA) jira-events at lists.jboss.org
Thu Mar 29 07:54:47 EDT 2012


Rene O created RF-12110:
---------------------------

             Summary: [rich:contextMenu] contextmenu doesn't work anymore if an ajax request is fired while contextmenu is visible
                 Key: RF-12110
                 URL: https://issues.jboss.org/browse/RF-12110
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 4.2.0.Final
         Environment: Tomcat 7, myfaces-2.1.6, richfaces-4.2.0.Final and 4.2.1-SNAPSHOT
            Reporter: Rene O


The example shows the problem:

{code:title=example.xhtml}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html  xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:ui="http://java.sun.com/jsf/facelets"
	  xmlns:a4j="http://richfaces.org/a4j"
	  xmlns:rich="http://richfaces.org/rich">
	  
	<h:head>
		<title>JSF Test</title>		
	</h:head>

	<h:body>
		Steps to reproduce the issue:
		<br/><br/>
		1. right click to show context menu
		<br/>
		2. wait till context menu hides
		<br/>
		3. click button 'click me'
		<br/>
		4. right click to show context menu
		<br/>
		5. context menu is visible
		<br/><br/>
		Now do the following
		<br/>
		1. right click to show context menu
		<br/>
		2. click button 'click me' before context menu hides
		<br/>
		3. right click to show context menu
		<br/>
		4. context menu doesn't work anymore...
		<br/><br/>
		<h:form id="formA">
			<a4j:commandButton id="but" value="click me" execute="@this" render="formA"/>
			<br/>
			<h:panelGroup id="panel" layout="block" style="width:200px;height:50px;background-color:#CCCCCC">
				right click for context-menu
			</h:panelGroup>
			<rich:contextMenu id="myContext" attached="true" target="panel" mode="client" hideDelay="3000">
				<rich:menuItem id="contextTest">
					Test
				</rich:menuItem>							
		    </rich:contextMenu>
		</h:form>
	</h:body>	
</html>
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list