3 Replies Latest reply on Jan 4, 2008 12:12 PM by Mike Finkenzeller

    Unable to get right click menu on datatable to pass paramete

    Mike Finkenzeller Newbie

      I am trying to enable a right click menu on rows in a dataTable. It works like a charm with onRowClick event but when I switch to attached with oncontextmenu it does not pass the parameters. Any ideas?

      <rich:contextMenu attached="true" id="menu" submitMode="ajax">
      </rich:contextMenu>

      <rich:dataTable>
      <rich:componentControl event="oncontextmenu" for="menu" operation="show">
      <f:param value="#{rowKey}" name="activeRow"/>
      <f:param value="#{lineItem.hpoCreated}" name="activeRowDisabled"/>
      </rich:componentControl>
      </rich:dataTable>