4 Replies Latest reply on Oct 20, 2008 11:02 AM by charlscross

    ContextMenu popupwindow

    charlscross

      I want context menu's menu item to open the new page on a popup window. The target attributte is not working, the page opens on the same frame.


       <rich:contextMenu event="oncontextmenu" attached="true" submitMode="ajax">
      
              <rich:menuItem  action="#{alarmesBean.verAlarmas(img.hostId)}"               value="Alarmas"  
           target="jsWinId" onclick="window.open('', 'jsWinId', 'windth = 200, height = 200, resizable = 0')"     
                                                               >
                                                             </rich:menuItem> 
      </rich:contextMenu>



      Anyone knows anything about this?