0 Replies Latest reply on Mar 13, 2008 7:58 AM by Adrián Juan Heredia

    Two events but only one response

    Adrián Juan Heredia Newbie

      Hi people!!

      I have got a rich:dataTable that contains a column with a h:selectBooleanCheckbox.

      The thing is that the h:selectBooleanCheckbox contains an a4j:support, supporting the event "onclick". And also, the table contains an a4j:support supporting the event "onRowClick".

      I want that when I change the state of my h:selectBooleanCheckbox only the event "onclick" happens, not the "onRowClick".

      Here you have the interested part from my .xhtml page:

      <rich:dataTable id="fichasList"
       <f:facet name="header">
       <s:link styleClass="columnHeader" value="I"></s:link>
       <h:selectBooleanCheckbox styleClass="select"
       <a4j:support event="onchange" actionListener="#{fichasChecksBean.actualizarI}"
       reRender="fichasList" immediate="true"
       eventsQueue="sublicencesQueue" ignoreDupResponses="true">
       <f:facet name="header">
       <s:link styleClass="columnHeader"
       <h:outputText value="#{fichas.equipos.direccioninternaEquipos}"/>
       <a4j:support event="onRowClick" immediate="true"

      I have simplified my table to only two columns.

      Can anyone help me?

      Thanks a lot in advance.