8 Replies Latest reply on Mar 29, 2011 3:06 AM by Ilya Shaikovsky

    Richfaces 4 + datatable + onrowclick

    Aage Nielsen Newbie

      We are migrating a small jsf application from 3.3.2 to 4.x. When using version 3 have been using the a4j:support tag for handling click in datatables, like this


      <rich:extendedDataTable rowKeyVar="rkv" frozenColCount="1" id="userTable"

                                              rows="#{findUserBean.rowCount}" value="#{findUserBean.baUserInfoList}" var="user" sortMode="single" sortOrder="#{findUserBean.order}" selection="#{findUserBean.selection}"

        style="cursor: pointer;" selectionMode="single">

                                              <a4j:support event="onRowClick" action="#{findUserBean.takeSelection}" oncomplete="Richfaces.hideModalPanel('progress');" onsubmit="Richfaces.showModalPanel('progress');" />


      Does anybody have some recommendations on how to do it in version 4 ?