contextMenu is getting broken if using componentControl inside the
menuItem
---------------------------------------------------------------------------
Key: RF-1635
URL:
http://jira.jboss.com/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
Assigned To: Maksim Kaszynski
Priority: Critical
Fix For: 3.1.3
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: