5 Replies Latest reply on Jun 11, 2008 9:04 AM by Ruediger xxx

    Problem with eventhandling with more than one control

    Ruediger xxx Newbie

      Hey everyone

      Is there a possibility to use two different onRowClick events for the same element?

      I've tried something like this, but it didn't work out:

      <rich:dataTable var="elem" width="100%" rows="20"
       <rich:componentControl event="onRowClick" for="menu" operation="show" >
       <f:param value="#{elem.id.agreementid}" name="agreementid"/>
       <f:param value="#{row}" name="rownumber"/>
       <f:param value="#{elem.cscid}" name="cscid"/>
       <rich:contextMenu submitMode="none" id="menu" >

      It seems like the first event overrules the second one (so the contextMenu stays hidden), but in my case i need both,
      is there any solution for something like this?