Make onexpand event on the contextMenu cancelable (return false - doesn't work now)
-----------------------------------------------------------------------------------
Key: RF-4592
URL:
https://jira.jboss.org/jira/browse/RF-4592
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: RF: v.3.2.2.GA SVN $Revision: 8947 $ $Date: 2008-06-07 15:39:49
+0300 $
JBoss 4.2.3 GA
JSF: 1.2_07-b03-FCS
facelets-1.1.14
Browser: Firefox 2.0.0.17
Reporter: Yurii Kartsev
I have rich:context menu, attached to scrollableData table:
<rich:contextMenu id="personnelDataTable_Menu"
event="oncontextmenu" disableDefaultMenu="true"
attachTo="personnelDataTable" submitMode="server">
...
If I add there onexpand="if(commonGlobVar==0) return false;" - the menu still
appears. If I put this: onexpand="if(commonGlobVar==0) alert('yes!');" -
I see the message box.
--
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