Composite components extend the UINamingContainer , which in turn extends the UIComponentBase , which in turn already defines the id and rendered . You do not need to specify them yourself. Just remove the <cc:attribute name="rendered"> . If you specify the rendered attribute in the tag of a composite component, it will be interpreted and applied to the composite component itself.
If you want to display specific child elements of a composite, better think of a different attribute name. For example, renderSomeChild .
source share