2 Replies Latest reply on Sep 25, 2008 5:55 AM by Ilya Shaikovsky

    a4j: onselect dataTable

    dreu zel Novice

      I've a problem using a4j support in a Data table


      <h:form id=list>
       <rich:dataTable value="#{ContactSuggest}" var="record" >
       <rich:collumn.../>
       <rich:collumn.../>
       <rich:collumn.../>
       <a4j:support event="onselect"
       ajaxSingle="true"
       bypassUpdates="false"
       reRender="list"
       action="#{dummy.select(record)}"
       eventsQueue="Q">
      
       </a4j:support >
       </rich:dataTable>
      </h:form>
      dummy.select(record) simply echo's the full class name of the variable record.
      


      The data list is displayed correctly
      as I add an onselect java script(alarm) the event is detecteted and the alarm is noted (no action routine is launched)

      as I create a h:commandLink using the identical action routine spec
      the action routine is called.

      Only when I use the support event=select action= syntax no action routine gets called.

      I'ts my first use of a4j support, maybe I'm specifying it wrong
      any help apreciated