title: Jsf composite components attribute doesn't work
body: <p>I am trying to create composite components. I defined 4 attributes in <code>composite:interface</code> section. Here is code</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"
  xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:p="http://primefaces.org/ui"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:composite="http://java.sun.com/jsf/composite"&gt;
  
  &lt;composite:interface &gt;
      &lt;composite:attribute name="id" /&gt;
      &lt;composite:attribute name="maxlength" /&gt;
      &lt;composite:attribute name="required"/&gt;
      &lt;composite:attribute name="value" /&gt;
  &lt;/composite:interface&gt;
  
  &lt;composite:implementation  xmlns:kc="http://java.sun.com/jsf/composite/components/kaysComposite"&gt;
          &lt;p:inputTextArea id="#{cc.attrs.id}" value="#{cc.attrs.value}" maxlength="#{cc.attrs.maxlength}" required="#{cc.attrs.required}" counterTemplate="{0} /  #{cc.attrs.maxlength}" counter="#{cc.attrs.id}_counter"/&gt;
  
          &lt;h:outputText id="#{cc.attrs.id}_counter"/&gt;
  &lt;/composite:implementation&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This is the page i use my component</p>
  
  <pre><code>     &lt;kc:kaysInputTextArea id="gpAdres" value="#{someBean.variable}"   maxlength="250" required="true"/&gt;
  &lt;p:message for="gpAdres" /&gt;
  </code></pre>
  
  <p>The weird part is required attribute doesn't work, but others work fine. I couldn't find why it is behaving like this.</p>