Is it possible to use both composite component facelet (xhtml, cc.attrs and etc. ) and component class ( extended from UIComponent) in one component?
1 Answers
1
votes
You cannot use Facelets composite components in JSF UI components, but you can use (custom) JSF UI components in Facelets composite components.
Composite components are a Facelets feature, not a JSF feature. The relation between JSF and Facelets is that Facelets is a view technology which is designed with JSF in mind. It's in essence the successor of JSP and by default included/supported since JSF 2.0.