title: No attributes auto-complete in Netbeans after register the custom component in .taglib.xml
body: <p>I create a custom component for <code>SelectOneRadio</code>, and I register it in <code>xyz.taglib.xml</code> and so far it works. The only problem is that my NetBeans cannot see my tag attribute in auto-complete. For example, if I have <code>layout="pageDirection"</code> in my custom component, then it render correctly, but when I (Ctrl + space) I do not see <code>layout</code>, <code>value</code> ... attributes. Here is how I register my custom component in my <code>WEB-INF/faces-config.xml</code>, I have</p>
  
  <pre><code>&lt;component&gt;
      &lt;component-type&gt;com.xyz.om.ui.component.SelectOneRadio&lt;/component-type&gt;
      &lt;component-class&gt;
          com.xyz.om.ui.component.SelectOneRadio
      &lt;/component-class&gt;
      &lt;component-extension&gt;
          &lt;component-family&gt;com.xyz.om.ui.component.SelectOneRadio&lt;/component-family&gt;
          &lt;renderer-type&gt;com.xyz.om.ui.renderer.SelectOneRadioRenderer&lt;/renderer-type&gt;
      &lt;/component-extension&gt;
  &lt;/component&gt;
  &lt;render-kit&gt;
      &lt;renderer&gt;
          &lt;component-family&gt;com.xyz.om.ui.component.SelectOneRadio&lt;/component-family&gt;
          &lt;renderer-type&gt;com.xyz.om.ui.renderer.SelectOneRadioRenderer&lt;/renderer-type&gt;
          &lt;renderer-class&gt;
              com.xyz.om.ui.renderer.SelectOneRadioRenderer
          &lt;/renderer-class&gt;    
      &lt;/renderer&gt;
  &lt;/render-kit&gt;
  </code></pre>
  
  <p>In my <code>WEB-INF/xyz.taglib.xml</code>, I have</p>
  
  <pre><code>&lt;facelet-taglib xmlns="http://java.sun.com/xml/ns/javaee"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd"
              version="2.0"&gt;
  &lt;namespace&gt;http://example.com/ui&lt;/namespace&gt;
  &lt;tag&gt;
      &lt;tag-name&gt;selectOneRadio&lt;/tag-name&gt;
      &lt;component&gt;
          &lt;component-type&gt;com.xyz.om.ui.component.SelectOneRadio&lt;/component-type&gt;
          &lt;renderer-type&gt;com.xyz.om.ui.renderer.SelectOneRadioRenderer&lt;/renderer-type&gt;            
      &lt;/component&gt;
  &lt;/tag&gt;
  &lt;/facelet-taglib&gt;
  </code></pre>
  
  <p>so I register the <code>xyz.taglib.xml</code> in <code>web.xml</code> as follow</p>
  
  <pre><code>&lt;context-param&gt;
      &lt;param-name&gt;javax.faces.FACELETS_LIBRARIES&lt;/param-name&gt;
      &lt;param-value&gt;/WEB-INF/xyz.taglib.xml&lt;/param-value&gt;
  &lt;/context-param&gt;
  </code></pre>
  
  <p>After this steps, if I Ctrl + space (Netbeans) on the custom component, I can only see <code>class, id, parent , rendered, rendererType, transient</code>. So I try create a <code>xyz.tld</code> under WEB-INF, like this</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;taglib version="2.1" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"&gt;
  &lt;tlib-version&gt;1.0&lt;/tlib-version&gt;
  &lt;short-name&gt;xyz&lt;/short-name&gt;
  &lt;uri&gt;http://example.com/ui&lt;/uri&gt;
  
  &lt;tag&gt;       
      &lt;name&gt;selectOneRadio&lt;/name&gt;
      &lt;tag-class&gt;com.xyz.om.ui.tag.SelectOneRadioTag&lt;/tag-class&gt;
      &lt;body-content&gt;JSP&lt;/body-content&gt;
      &lt;attribute&gt;
          &lt;description&gt;
              xyz description
          &lt;/description&gt;
          &lt;name&gt;name&lt;/name&gt;
          &lt;required&gt;false&lt;/required&gt;
          &lt;deferred-value&gt;
              &lt;type&gt;java.lang.String&lt;/type&gt;
          &lt;/deferred-value&gt;         
  
      &lt;/attribute&gt;
  &lt;/tag&gt;
  &lt;/taglib&gt;
  </code></pre>
  
  <p>but still the <code>name</code> attribute does not show in netbeans when I write out the tag. <strong>I guess my question is how to get netbeans to auto-complete my custom component's attributes, because everything works, but no auto-complete is a pain</strong></p>