title: How to refresh an element outside form with h:command ajax in jsf2?
body: <p>How can I refresh an element outside the form through ajax render .</p>
  
  <pre><code>&lt;ui:repeat var="o"&gt;
      &lt;h:form&gt;
          &lt;h:panelGroup id="someid"&gt;
         ...
          &lt;/h:panelGroup&gt;
  
          &lt;div&gt;
              &lt;h:commandButton action="#{o.doSomething}"&gt;
                  &lt;f:ajax event="action" render="someid :rehreshthistoo" /&gt;
              &lt;/h:commandButton&gt;
          &lt;/div&gt;
      &lt;h:form&gt;
  &lt;/ui:repeat&gt;
  
   &lt;h:panelGroup id="rehreshthistoo"&gt;
         ...
   &lt;/h:panelGroup&gt;
  </code></pre>