title: <f:ajax> Unable to attach <f:ajax> to non-ClientBehaviorHolder parent
body: <p>I receive the following error when running my application:</p>
  
  <pre><code>&lt;f:ajax&gt; Unable to attach &lt;f:ajax&gt; to non-ClientBehaviorHolder parent
  </code></pre>
  
  <p>My JSF:</p>
  
  <pre><code>    &lt;h:commandButton id="submitschool" action="submit" value="Get templates" style="FONT-SIZE: medium;FONT-FAMILY: 'Rockwell';width : 128px; height : 24px;"&gt;
      &lt;ui:repeat value="#{person.theImage}" var="item"&gt;
      &lt;f:ajax event="change" render="image" /&gt;
      &lt;h:graphicImage id="image" value="#{item}"/&gt;
      &lt;/ui:repeat&gt;
      &lt;/h:commandButton&gt;
  </code></pre>
  
  <p>I'm trying to return back elements in an array to the view, where "theImage" is an array in person class.</p>