[richfaces-issues] [JBoss JIRA] Created: (RF-4592) Make onexpand event on the contextMenu cancelable (return false - doesn't work now)

Yurii Kartsev (JIRA) jira-events at lists.jboss.org
Fri Oct 10 08:40:20 EDT 2008


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

        



More information about the richfaces-issues mailing list