title: Override ui:insert and ui:include-Handler
body: <p>There are <a href="https://stackoverflow.com/questions/18389352/how-to-override-hselectoneradio-renderer-where-is-the-renderer-class-in-jsf-im">many</a> <a href="https://stackoverflow.com/questions/4605401/jsf-2-0-how-to-override-base-renderers-with-custom-ones">other</a> <a href="https://stackoverflow.com/questions/8179449/jsf-2-0-primefaces-renderer-override">topics</a> about how to override an existing renderer in JSF. All of them lead to the same entry in faces-config. You "only" need a <code>component-family</code>, <code>renderer-type</code>, <code>render-kit-id</code> and your implementenation in <code>renderer-class</code></p>
  
  <p>I understand and can reproduce all of these examples, but in my specific case I would like to override the behavior of <code>&lt;ui:include&gt;</code> and <code>&lt;ui:insert&gt;</code>. Sadly I cannot find out, which values I have to put in the attributes mentioned above, because the file <code>ui:taglib.xml</code> is not as verbose as the other taglibs.</p>
  
  <p>Do you have any idea, how to override them?</p>
  
  <p><strong>Edit:</strong> BalusC mentioned <a href="https://stackoverflow.com/questions/15006955/custom-facelet-component-in-jsf">another topic</a>, it uses custom tags like <code>&lt;my:include&gt;</code> or <code>&lt;my:insert&gt;</code>, but these I don't want to use. If I did so, I had to refactor all of my existing code, and my future code would not be working without using my custom taglib.</p>
  
  <p>I would like to hook before the rendering of <code>&lt;ui:include&gt;</code> and <code>&lt;ui:insert&gt;</code> so I can reuse the plugin I'm about to develop <strong>without</strong> changing any of the existing code.</p>