[richfaces-issues] [JBoss JIRA] Closed: (RF-1635) contextMenu is getting broken if using componentControl inside the menuItem

Tsikhon Kuprevich (JIRA) jira-events at lists.jboss.org
Mon Dec 1 10:45:37 EST 2008


     [ https://jira.jboss.org/jira/browse/RF-1635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsikhon Kuprevich closed RF-1635.
---------------------------------



> contextMenu is getting broken if using componentControl inside the menuItem
> ---------------------------------------------------------------------------
>
>                 Key: RF-1635
>                 URL: https://jira.jboss.org/jira/browse/RF-1635
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.3
>         Environment: JSF 1.2
> tomcat 6.0
> FF 2.x
>            Reporter: Tsikhon Kuprevich
>            Assignee: Tsikhon Kuprevich
>            Priority: Minor
>             Fix For: 3.3.0
>
>         Attachments: good.txt, worse.txt
>
>
> It's expected that menu desapears when onmouseover action abovee the "b" menuitem occurs.
> 				<div style="border: dotted">div <rich:contextMenu
> 					id="ccContextMenuID" submitMode="ajax" attach="true">
> 					<rich:menuItem icon="/img/header.png" value="tab1">
> 						<f:param name="cmdParam" value="menu" />
> 					</rich:menuItem>
> 					<rich:menuSeparator />
> 					<rich:menuItem icon="/img/info.gif" value="a" reRender="cmInfoID">
> 						<f:param name="cmdParam" value="a" />
> 					</rich:menuItem>
> 					<rich:menuItem icon="/img/info.gif" value="b" reRender="cmInfoID">
> 						<rich:componentControl event="onmouseover" for="ccContextMenuID"
> 							disableDefault="true" operation="hide" />
> 					</rich:menuItem>
> 					<rich:menuItem icon="/img/info.gif" value="c" reRender="cmInfoID">
> 						<f:param name="cmdParam" value="c" />
> 					</rich:menuItem>
> 				</rich:contextMenu></div>
> works fine with IE, but in FF it throws JS error messsage for the following code: 
> ]).attachToParent('j_id7','oncontextmenu',{} );Richfaces.disableDefaultHandler('oncontextmenu');

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