2 Replies Latest reply on Feb 27, 2009 12:30 AM by vgriffin

    How to use a4j:support and rich:extendedDataTable with Seam

    sart

      Hello! I found that i can't make an ajax request. Here is the code:


      xhtml:



      <rich:extendedDataTable id="townPartList"
      var="_townParts" selectionMode="single" width="365px"
      height="190px" rendered="#{not empty fullAction.fullTownParts}"
      value="#{fullAction.fullTownParts}">
          <f:facet name="header">Town Parts</f:facet>
               <a4j:support event="onRowClick" reRender="streetList" 
                            action="#{fullAction.retrieveStreets}">                                        
      <f:param name="partId" value="#{_townParts.id}" />
      </a4j:support>
      <rich:column width="366px">
      <h:outputText value="#{_townParts.description}" />
      </rich:column>
      </rich:extendedDataTable>
      
      <rich:extendedDataTable id="streetList"
      var="_street" selectionMode="single" width="365px" height="190px"
      value="#{fullAction.fullStreetParts}">
      <rich:column width="366px">
      <h:outputText value="#{_street.description}" /> 
      </rich:column>
      </rich:extendedDataTable>



      in Session Bean i want to start retrieveStreets(). But it's not doing nothing when i click the row in the first table.


      Can anyone tell me what i do wrong. Thanks in advance.