1 Reply Latest reply on Jun 29, 2009 5:26 AM by ilya_shaikovsky

    ExtendedDataTable in seam

    pedalshoe

      Hi
      I'm using seam 2.1.2 and the extendedDataTable in richfaces 3.3.0
      I'm not sure how to go about setting this up to capture the row after selection.
      Should I use the DataModel approach or use binding?
      If there is an extendedDataTable example in SEAM please let me know.

      currently i have this working to display the data, but i can't get the selected row. the object is always null:

      <rich:extendedDataTable width="100px" height="250px" var="pp" id="units" sortMode="#{registration.sortMode}"
      selectionMode="#{registration.selectionMode}"
      value="#{registration.paymentPlanDataModel}" >
       <a4j:support event="onselectionchange"
      reRender="terms" action="#{registration.ppSelection}" />
       <rich:column sortable="false" >
       <f:facet name="header">
       <h:outputText value="Unit Ranges"/>
       </f:facet>
       <h:outputText value="#{pp.shortDescription}"/>
       </rich:column>
      </rich:extendedDataTable>


      when I select a row in the table the method registration.ppSelection is called, but everything is null.

      Thank you,
      -Christopher