title: Custom Facelets components and attributes defined in taglib
body: <p>Defining custom components in Facelets is easy and quick but there's one thing I can't figure out. </p>
  
  <p>Is it possible with Facelets to define what attributes my custom component has? I.e: I've created a component which is used in such a way:</p>
  
  <pre><code> &lt;blue:modalWindow id="editFeesWizard" width="500" height="440" title="Wizard"&gt;
  </code></pre>
  
  <p>and is defined in taglib.xml as follows:</p>
  
  <pre><code>&lt;!DOCTYPE facelet-taglib PUBLIC
          "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
          "http://java.sun.com/dtd/facelet-taglib_1_0.dtd"&gt;
  &lt;facelet-taglib&gt;
      &lt;namespace&gt;...&lt;/namespace&gt;
      &lt;tag&gt;
          &lt;tag-name&gt;modalWindow&lt;/tag-name&gt;
          &lt;source&gt;components/modalWindow.xhtml&lt;/source&gt;
      &lt;/tag&gt;    
  &lt;/facelet-taglib&gt;
  </code></pre>
  
  <p>Taglib doesn't contain any information on component's attributes (id, width, height, title) and IDE cannot therefore check my syntax nor can it suggest attributes while I'm typing. </p>
  
  <p>I cannot find anything on this subject in Facelets documentation. Thought you could help. Thanks!</p>