title: How to update multiple components (selectOneMenu) with depending objects relations?
body: <p>i have the following (self-explanatory) entity-relation:</p>
  
  <pre><code>* Manufacturer
  * Car    (Manufacturer.getCars())
  * Tire   (Car.getTires())
  </code></pre>
  
  <p><strong>MyBean</strong></p>
  
  <pre><code>private List&lt;Manufacturer&gt; allManufacturers
  
  private Manufacturer selectedManufacturer
  private Car selectedCar
  private Tire selectedTire
  </code></pre>
  
  <p><strong>xhtml</strong></p>
  
  <pre><code>&lt;p:selectOneMenu id="manufacturerSel" value="#{myBean.selectedManufacturer}" converter="#{manufacturerConverter}"&gt;
      &lt;f:selectItem itemLabel="None" itemValue="#{null}" /&gt;
      &lt;f:selectItems value="#{myBean.allManufacturers}" /&gt;
      &lt;p:ajax update="carSel tireSel" /&gt;
  &lt;/p:selectOneMenu&gt;
  
  &lt;p:selectOneMenu id="carSel" value="#{myBean.selectedCar}" converter="#{carsConverter}" disabled="#{empty myBean.selectedManufacturer.cars}"&gt;
      &lt;f:selectItem itemLabel="None" itemValue="#{null}" /&gt;
      &lt;f:selectItems value="#{myBean.selectedManufacturer.cars}"  /&gt;
      &lt;p:ajax update="tireSel" /&gt;
  &lt;/p:selectOneMenu&gt;
  
  &lt;p:selectOneMenu id="tireSel" value="#{myBean.selectedTire}" converter="#{tiresConverter}" disabled="#{empty myBean.selectedCar.tires}"&gt;
      &lt;f:selectItem itemLabel="None" itemValue="#{null}" /&gt;                            
      &lt;f:selectItems value="#{myBean.selectedCars.tires}"  /&gt;
  &lt;/p:selectOneMenu&gt;
  </code></pre>
  
  <ul>
  <li>the last two <code>p:selectOneMenu</code> should be updated  depending on the selection in the first one</li>
  <li>The last <code>p:selectOneMenu</code> with ID <code>tireSel</code> is not being updated correctly</li>
  <li>All the to-be-updated components are inside the same <code>NamingContainer</code></li>
  <li>the <code>carSel</code> gets updated, but the values loaded in <code>tireSel</code> are strange (seem to be valid for the last request)</li>
  <li>i also tried <code>update="@form"</code> in <code>manufacturerSel</code></li>
  </ul>
  
  <p><strong>EDIT</strong>
  To show which EL Version is used:
  Here´s an excerpt of my pom.xml</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;javax.faces&lt;/groupId&gt;
      &lt;artifactId&gt;javax.faces-api&lt;/artifactId&gt;
      &lt;version&gt;2.1&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.glassfish&lt;/groupId&gt;
      &lt;artifactId&gt;javax.faces&lt;/artifactId&gt;
      &lt;version&gt;2.1.12&lt;/version&gt;
  &lt;/dependency&gt;    
  &lt;dependency&gt;
      &lt;groupId&gt;javax.el&lt;/groupId&gt;
      &lt;artifactId&gt;el-api&lt;/artifactId&gt;
      &lt;version&gt;2.2&lt;/version&gt;
      &lt;scope&gt;provided&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>