2 Replies Latest reply on Dec 11, 2008 7:33 PM by WANG Chi

    The rich:scrollableDataTable has some problems with s:button

    WANG Chi Newbie

      Hello, I use rich:scrollableDataTable to track a number of rows selection:



      <h:form>
      
      <rich:scrollableDataTable value="#{blacklist.allBlackList}" var="blacklistItem" rowClasses="odd,even" columnClasses="msisdn,begin_date,end_date" rows="0" width="530px" height="500px" sortMode="single" selectedClass="selected" rowKeyVar="id" 
      selection="#{blacklistScrollerBean.selection}">
      ...
      </rich:scrollableDataTable>
      
      <s:button action="#{blacklistScrollerBean.deleteSelection}" value="Delete" />
      ...
      
      </h:form>




      In above tags I configured the selection attribute, when I use a s:button to submit the form, the blacklistScrollerBean.setSelection is not called, but when I change s:button to h:commandButton, it works successfully. Does scrollableDataTable has some problems with s:button? thanks a lot.