title: JSF 1.2 : Can I create reusable component inside JSF view
body: <p>Is possible to something like this in jsf?</p>
  
  <pre><code>&lt;ui:composition&gt;
    &lt;x:reusableCode id="editScreen"&gt;InnerHtml ... &lt;/x:reusableCode&gt;
    code...
    &lt;x:use component="editScreen"/&gt;
  &lt;/ui:composition
  </code></pre>
  
  <p>I know I can create my own component and register it in jsf tagLib, but I need reusable HTML only in on jsf view file.</p>