0 Replies Latest reply on Sep 27, 2007 7:48 AM by akakunin

    a4j:form inside rich:table

    akakunin

      is forms are working correct inside rich:table?
      I have a table, and each row has form inside:

      <h:column>
       <a4j:form id="assignToForm">
       <h:selectOneMenu id="selectAssign" value="#{controller.idToAssign}">
       <f:selectItem itemValue="" itemLabel="" />
       <f:selectItems value="#{controller.selectItems}" />
       </h:selectOneMenu>
       <a4j:commandButton id="buttonAssign"
       value="Assign"
       action="#{controller.assignItemToFacility}">
       <a4j:actionparam name="itemIdToAssign" value="#{record.id}" assignTo="#{controller.itemIdToAssign}"/>
       </a4j:commandButton>
       </a4j:form>
       </h:column>
      


      Problem is - idToAssign passed correctly into backing bean only for last row in table. In other cases I've got null there :(

      Does anybody else meet this issue? Are there any hints with placing forms inside table?