title: How do I bind a inputbox values to a map value in a backing bean property when using a wizard
body: <p>I am using the Primefaces wizard component. On one tab I am dynamically creating input boxes based on previous tabs input(user type). The inputbox text labels are derived from a list. In my backing bean, I have a map that contains input labels as keys and inputbox inputs as values.</p>
  
  <p>Clicking on next, I would like the map(values) to be updated with the user input (corresponding to the key)</p>
  
  <pre><code>&lt;c:forEach items="#{gdsiGeodataBean.actionCommand.fields}" var="reqs"&gt;
    &lt;h:outputLabel for="#{reqs.name}" value="#{reqs.name}:* " /&gt;  
    &lt;pou:inputText value="#{gdsiGeodataBean.actionCommand.values['reqs.name']}"  required="true" requiredMessage="Input is required."/&gt; 
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>My backing bean :</p>
  
  <pre><code>private List&lt;RequiredParam&gt; fields; // +getter (no setter required)
  private Map&lt;String, String&gt; values; // +getter (no setter required)
  
  public CommandAction(String actionName, String actionParams, String context) {
      this.actionName = actionName;
      this.actionParams = actionParams;
      this.contextName = context;
  
      //Set up parameters
      getRequiredParams();
      getOptionalParams();
      fields = getFields();
      values = new HashMap&lt;String, String&gt;();
  }
  </code></pre>
  
  <p>Essentially what I would like is for the map values to be updated with user inputs from the textinput boxes.</p>