2 Replies Latest reply on Sep 4, 2014 8:42 AM by Michal Petrov

    rich:contextMenu and default showEvent

    Sergey Morenets Novice

      Hi

       

      Can you please clarify what is the default value for showEvent attribute?

      According to the docs it is oncontextmenu.

       

      http://docs.jboss.org/richfaces/latest_4_X/vdldoc/rich/contextMenu.html

       

      I see from the sources that it is mouseover(at least in 4.2.3).

      public static final String DEFAULT_SHOWEVENT = "mouseover";

       

      However I cannot assign "mouseover" as default event. If I use defaultEvent="mouseover"

      or don't specify default event at all then context menu is shown after right-click.

       

      Please advise.

       

      RichFaces 4.2.3