2 Replies Latest reply: Mar 15, 2012 8:33 AM by nt2005 RSS

    Submit form with many inputs

    nt2005 Newbie

      Hello Community,

       

      How can I submit a form like:

       

      <h:form>

          <rich:comboBox defaultLabel="Enter some value">

              <f:selectItem itemValue="suggestion 1"/>

              ...

          </rich:comboBox>

          <h:inputText id="name" value="" />

          <h:inputText id="attribute1" value="" />

          <h:inputText id="attribute2" value="" />

          <h:inputText id="attributeN" value="" />

          <rich:pickList>

              <f:selectItem itemLabel="Option 1" itemValue="1"/>

              ...

          </rich:pickList>

      </h:form>

       

       

      The problem is: the number of inputs is not known so I cannot use a bean like: #{myBean.input1} #{myBean.input2}....

      The best would be to get a string of this submit like a get-submit:

      ?id=1391&name=notyou&pw=452