2 Replies Latest reply on Oct 19, 2009 1:16 PM by Francis Drake

    Modal panel shown from context menu

    Francis Drake Newbie

        I am trying to display modal panel after selecting item from context menu. I've used componentControl in order to show panel, but nothing happens after selecting item... Here's part of code I tried:

      <rich:contextMenu event="oncontextmenu" submitMode="ajax">
        <rich:menuItem value="Add comment">
          <rich:componentControl for="eventCommentPanel" operation="show" event="onclick"/> <!-- also tried "onRowClick" -->

      <rich:modalPanel id="eventCommentPanel">
        <h:outputText value="Add comment"/>