2 Replies Latest reply on Nov 11, 2009 8:17 AM by BJorn T Johansen

    contextMenu with componentControl doesn't work together with

    BJorn T Johansen Newbie

      Is this a known limitation?

      If I use the following code..:

      <rich:dataTable var="price" ...>
       <f:facet name="header">
       <rich:columnGroup style="background: lightsteelblue">
       <h:outputText value="#{msgs.supplier_number}"/>
       <rich:columnGroup rendered="#{price.showSupplier}">
       <h:outputText value="#{price.leverandor.levNummer}"/>
       <rich:componentControl event="onRowContextMenu" for="contextmenu" operation="show">
       <f:param value="#{price.id}" name="rowId"/>
      </rich:dataTable >
      <rich:contextMenu attached="false" submitMode="ajax" id="contextmenu" disableDefaultMenu="true">

      then no context menu appears (I have also tried moving the componentControl tag inside the columnGroup tag with the same result)

      But if I remove the columnGroup and just displays the column values, then the context menu appear.. Is this a known problem or am I doing something wrong?