0 Replies Latest reply on Apr 30, 2007 8:06 AM by javatwo

    <a4j:support> does not work for <selectOneMenu> inside a <da

    javatwo

      The following code is to render multiple . when one selectOneMenu changes, fire ajax submit, and refresh all the selectOneMenu(s). When I change one selectOneMenu, ajax submit is OK, but the "ajaxSelect" is not reRendered. For the log, the response does not have the ajaxSelect id for replacing the region. Thanks for help.

      <h:form>
      <t:dataList id="ajaxSelect" forceId="true"

      var="s"
      value="#{bean.selectList}"
      layout="simple"
      rowCountVar="rowCount"
      rowIndexVar="rowIndex" >

      <t:selectOneMenu
      value="#{s.value}"
      valueChangeListener="#{s.valueChanged}">

      <f:selectItems value="#{s.selectItems}"/>

      <a4j:support event="onchange" reRender="ajaxSelect"
      />

      </t:selectOneMenu>

      </t:dataList>
      </h:form>