[richfaces-issues] [JBoss JIRA] (RF-12488) detached contextmenu menu fails

emmanuel dufour (JIRA) jira-events at lists.jboss.org
Fri Sep 14 07:15:33 EDT 2012


emmanuel dufour created RF-12488:
------------------------------------

             Summary: detached contextmenu menu fails
                 Key: RF-12488
                 URL: https://issues.jboss.org/browse/RF-12488
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component
    Affects Versions: 4.2.2.Final
         Environment: fails both on server tomee 1.1 (myfaces 2.1.8) and server Glassfish 3.x (mojarra 2.1)
            Reporter: emmanuel dufour


Context menu can be used "attached" or not, the code below creates 2 buttons, the 1rt one "attached" works as expected but the 2nd one "detached" doesnt. The context menu appears in a wrong place (myfaces) or not at all (mojarra).
{code:xml}
<h:form >

	
	<h:button id="ass" value="attached menu ok" onclick="return false;">

	</h:button>
	
	<rich:contextMenu id="contextMenu" target="ass" showEvent="click">


		<rich:menuItem label="Edit this" />
	</rich:contextMenu>
<br/><br/><br/>
 	<h:button value="detached menu error" onclick="return false;">
<rich:componentControl event="click"  target="contextMenu2" operation="show"/>
	</h:button>
	
	<rich:contextMenu  mode="client" attached="false"   id="contextMenu2" >


		<rich:menuItem label="Edit this" />
	</rich:contextMenu>
</h:form>
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list