title: Sending JSF parameters within Richfaces a4j:repeat
body: <p>I'm attempting to put a few drop down menus inside of an a4j:repeat.  The values for the second drop down are dependent on the value selected in the first.  Below is the code I am attempting to use, but it passes a blank parameter:</p>
  
  <pre><code>&lt;a4j:repeat id="localRepeat" var="local" value="#{InstanceController.instance.locations}" rowKeyVar="row"&gt;
                      &lt;h:panelGrid columns="2"&gt;
                          &lt;h:outputLabel value="Theater:" /&gt;
                          &lt;h:selectOneMenu  id="theater" converter="#{TheaterConverter}" value="#{local.theater}"&gt;
                              &lt;f:selectItems id="theaters" value="#{InstanceController.allTheaters}" /&gt;
                              &lt;a4j:support event="onchange" action="#{InstanceController.getAllCountriesInTheater}" reRender="country" &gt;
                                  &lt;f:param name="theater" value="#{local.theater.id}"/&gt;
                              &lt;/a4j:support&gt;
                          &lt;/h:selectOneMenu&gt;
  
                          &lt;h:outputLabel value="Country:" /&gt;
                          &lt;h:selectOneMenu immediate="true" id="country" converter="#{CountryConverter}" value="#{local.country}"&gt;
                              &lt;f:selectItems  value="#{InstanceController.allCountriesInTheater}" /&gt;
                              &lt;a4j:support event="onchange" reRender="state" /&gt;
                          &lt;/h:selectOneMenu&gt;
  
                      &lt;/h:panelGrid&gt;
                      &lt;rich:spacer height="10px" /&gt;
                  &lt;/a4j:repeat&gt;
  </code></pre>
  
  <p>If I change the f:param to send "1" instead of "#{local.theater.id}" it works as expected.  </p>
  
  <p>Is there a way to get the selected value of the first drop down and send it as a parameter?</p>