title: p:ajax event="contextMenu" listener and context menu issues
body: <p><strong>p:contextMenu</strong></p>
  
  <pre><code>&lt;p:contextMenu for="dt" id="_context_menu"&gt;
    &lt;p:menuitem value="View Distribution" update="act_dist_dt" icon="ui-icon-close" actionListener="#{bankTransactionInqMB.viewDisctributionAcct}" onsuccess="act_dist.show()" /&gt;
    &lt;p:menuitem value="Issued" update="dt" icon="ui-icon-close" actionListener="#{bankTransactionInqMB.issuedOrUpdate}" rendered="#{bankTransactionInqMB.issueOrUpdate == true}" /&gt;
    &lt;p:menuitem value="Cleared" update="dt" icon="ui-icon-close" actionListener="#{bankTransactionInqMB.postBankTransaction}" rendered="#{bankTransactionInqMB.cleared == true}" /&gt;
    &lt;p:menuitem value="Posted" update="dt" icon="ui-icon-close" actionListener="#{bankTransactionInqMB.clearBankTransaction}" rendered="#{bankTransactionInqMB.posted == true}" /&gt;
  &lt;/p:contextMenu&gt;
  </code></pre>
  
  <p><strong>p:dataTable</strong></p>
  
  <pre><code>&lt;p:dataTable var="item" id="dt" style="width: 1200px; margin: 0 auto;" value="#{bankTransactionInqMB.bankTransactions}" rows="15" paginator="true"
                  paginatorTemplate="{CurrentPageReport}  {PreviousPageLink} {NextPageLink} " rowKey="#{item.id}" selectionMode="single" paginatorPosition="bottom"
                  selection="#{bankTransactionInqMB.bankTransaction}"&gt;
  
  
    ....
  
    &lt;p:ajax event="contextMenu"  listener="#{bankTransactionInqMB.contextMenuListener}" update=":main:_context_menu" oncomplete="_context_menu.show()" /&gt;
              &lt;/p:dataTable&gt;
  </code></pre>
  
  <p>When I right click on datatable it show context menu and then instantly disappear and on every next right click context menu appears but listener="#{bankTransactionInqMB.contextMenuListener}" not called.It is only called on first time right click.</p>
  
  <p><strong>I have 2 issues:</strong></p>
  
  <ol>
  <li>listener call only first time right click and subsequent right click
  not call the listener</li>
  <li>context menu appear and instantly disappears on first time right
  click</li>
  </ol>
  
  <p>I basically want to implement dynamic context menu for each row. when user right click , listener will decide which menu should be visible or not for specific row . </p>
  
  <p>any update ?</p>