Is JSF2 allows Component class and facelet xhtml together?

You cannot use Facelets composite components in JSF UI components, but you can use (custom) JSF UI components in Facelets composite components.

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.

I know the things you are write above, but I still don't understand how to use it. I think that abbreviations "cc. Attrs" and "cc.

ClientId" assume that there is some java class for component, behind the scene. I want to know, if it is possible to override/extend it in such way that "cc. MyFunc" will be available?

– Igor Grinfeld Nov 23 '10 at 11:26 No, that's not possible. – BalusC Nov 23 '10 at 11:33 Thank you. However it are not good news.

One of the important features of using facelts together with JSF2 is that the developer do less configuration work. The things that you wrote mean that if I want complicated component I still need to create component class, renderer class and taglib. Ohhh.

– Igor Grinfeld Nov 24 '10 at 7:54 That's the caveat if you need a (over)complicated component. – BalusC Nov 24 '10 at 10:33.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions