title: <f:facet> not working with <h:form>
body: <p>I have a template, in which a <code>&lt;h:form&gt;</code> is defined. This <code>&lt;h:form&gt;</code> is used all over the application for the CRUD pages of entities.</p>
  
  <p>So, at one place I need another <code>enctype</code> for the form, so that I can upload files. I thought I can solve this with a facet in the template:</p>
  
  <pre><code>&lt;h:form id="main-form"&gt;
      &lt;f:facet name="enctype"&gt;
          &lt;ui:insert name="form-enctype"/&gt;
      &lt;/f:facet&gt;
  
      &lt;ui:insert name="buttons"/&gt;&lt;p/&gt;
      &lt;ui:insert name="content"/&gt;&lt;p/&gt;
      &lt;ui:insert name="buttons"/&gt;
      &lt;ui:insert name="additionalHelper"/&gt;
  
  &lt;/h:form&gt;
  </code></pre>
  
  <p>And at the concrete page I wanted to set the custom <code>enctype</code> this way:</p>
  
  <pre><code>&lt;ui:define name="form-enctype"&gt;
      &lt;h:outputText value="multipart/form-data"/&gt;
  &lt;/ui:define&gt;
  </code></pre>
  
  <p>But in the source code I always end up with the default <code>application/x-www-form-urlencoded</code>as <code>enctype</code> for the <code>&lt;h:form&gt;</code></p>
  
  <p>Why is this happening? At other locations in the source code this is behaving properly.</p>