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

    a4j:form inside rich:table

    Alexey Kakunin Newbie

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

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

      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?