title: Parameterization of facelet custom tag
body: <p>I have created facelet template:</p>
  
  <p>left-right.xhtml</p>
  
  <pre><code>&lt;ui:composition&gt;
      &lt;ui:include name="left" /&gt;
      &lt;hr /&gt;
      &lt;ui:include name="right" /&gt;
  &lt;/ui:composition&gt;
  </code></pre>
  
  <p>After, if I use this template with <strong>ui:decorate</strong> it works fine:</p>
  
  <p>index.xhtml</p>
  
  <pre><code>&lt;ui:decorate template="left-right.xhtml"&gt;
      &lt;ui:define name="left"&gt;FOO&lt;/ui:define&gt;
      &lt;ui:define name="right"&gt;BAR&lt;/ui:define&gt;
  &lt;/ui:decorate&gt;
  </code></pre>
  
  <p>BUT, if I use this template as custom facelet tag it does not works.</p>
  
  <p>custom-taglib.xml</p>
  
  <pre><code>&lt;facelet-taglib&gt;
      &lt;tag&gt;
          &lt;tag-name&gt;leftright&lt;/tag-name&gt;
          &lt;source&gt;left-right.xhtml&lt;/source&gt;
      &lt;/tag&gt;
  &lt;/facelet-taglib&gt;
  </code></pre>
  
  <p>index.xhtml</p>
  
  <pre><code>&lt;custom:leftright&gt;
      &lt;ui:define name="left"&gt;FOO&lt;/ui:define&gt;
      &lt;ui:define name="right"&gt;BAR&lt;/ui:define&gt;
  &lt;/custom:leftright&gt;
  </code></pre>
  
  <p>The content inside <strong>ui:define</strong> tags is not included into template :(</p>
  
  <p>So, question is how can I parameterise facelet template if it renders as facelet custom tag?</p>