3 Replies Latest reply on Jan 31, 2012 7:48 AM by apalmeira

    Open menuItem in new Window or new Tab

      The project I'm working with is using the following richfaces components:

       

      <rich:toolBar>

         <rich:dropDownMenu>

            <rich:menuItem ... />

            <rich:menuItem ... />

            <rich:menuItem ... />

         </rich:dropDownMenu>

      </rich:toolBar>

       

      The menu works just fine and the menuItems are (left-) clickable and opens up the correct action when clicked upon.

       

      However we must provide the possibility for the user to open the actions in either a new window or a new tab

      (as with hyperlinks in a web-page) when the user right-clicks on a menuItem.

       

      The default behavior of this menu component seems to be no pop-up menu or nothing what so ever when right-clicking on a menuItem.

       

      Does anyone know how to achieve the normal browser behavior of right clicking and then choose to open in a new window or new tab?