title: How to invoke a JSF composite within composite:implementation?
body: <p>How could you invoke a JSF2 composite (widget) within anothers composite's implementation tag?</p>
  
  <p>When I do so, I get the following <code>error: /resources/widgets/tileContainer.xhtml @25,45 &lt;mywidgets:tileContainer&gt; Tag Library supports namespace: http://java.sun.com/jsf/composite/widgets, but no tag was defined for name: tileContainer</code></p>
  
  <p>The code snippet is:</p>
  
  <pre><code>&lt;composite:interface name="tileContainer"&gt;
      &lt;composite:attribute name="pubCategoryId" type="java.lang.Long" required="true" /&gt;
  &lt;/composite:interface&gt;
  
  &lt;composite:implementation&gt;
      &lt;div class="tileContainer"&gt;
  
          &lt;ui:repeat value="#{pubController.getPubsByCategory(cc.attrs.pubCategoryId)}" var="pub"&gt;
              #{pub.title}
              &lt;mywidgets:tileContainer title="Private"&gt;
                  &lt;mywidgets:tileSmallPictureTitle                        
                      title="Bulk Dispatch Lapse stressed with application protocols"&gt;
                  &lt;/mywidgets:tileSmallPictureTitle&gt;
              &lt;/mywidgets:tileContainer&gt;
          &lt;/ui:repeat&gt;
  
      &lt;/div&gt;
  &lt;/composite:implementation&gt;
  </code></pre>
  
  <p>Any other design recommendations on how to handle this?</p>
  
  <p>Thank you for sharing your thoughts.</p>