title: Rerendering composite component by ajax
body: <p>I have build a composite component witch looks something like this:</p>
  
  <pre><code>&lt;composite:interface&gt;
    &lt;composite:attribute name="id" required="false" /&gt;
    &lt;composite:attribute name="label" required="true" /&gt;
  &lt;/composite:interface&gt;
  
  &lt;composite:implementation&gt;
    &lt;h:panelGroup id="#{cc.attrs.id}"&gt;
      &lt;fieldset class="fieldset"&gt;&lt;legend&gt;${cc.attrs.label}&lt;/legend&gt;&lt;/fieldset&gt;
    &lt;/h:panelGroup&gt;  
  &lt;/composite:implementation&gt;
  </code></pre>
  
  <p>The compent displays the current label correctly.</p>
  
  <pre><code>&lt;xyz:comp id="idMyComponent" label="#{someBean.text}"/&gt;
  
  ...
  &lt;a4j:ajax ... render="idMyComponent" /&gt;
  ...
  </code></pre>
  
  <p>Now when the action is preformed nothing happens. However when I add a Postfix to the ID in the component it works fine (see below).</p>
  
  <pre><code>...
  &lt;composite:implementation&gt;
        &lt;h:panelGroup id="#{cc.attrs.id}Label"&gt;
  ...
  </code></pre>
  
  <p></p>
  
  <p>And define the ID in render with the postfix:</p>
  
  <pre><code>&lt;xyz:comp id="idMyComponent" label="#{someBean.text}"/&gt;
  
  ...
  &lt;a4j:ajax ... render="idMyComponentLabel" /&gt;
  ...
  </code></pre>
  
  <p>Can some on explain to me why it only works when I add a postfix to the ID in <code>h:panelGroup</code>?</p>