Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RichFaces and Facelets, a good combo?

I've been programming using RichFaces and JSF for quite some time now, and like the features that Facelets offer (especially as part of JSF 2), but haven't used it yet. Are there any gotchas to watch out for or incompatibilities between RichFaces and Facelets? I use A4J ajax functionality a lot as part of RichFaces, so I am concerned about that also.

Thanks in advance.

like image 424
Jon Onstott Avatar asked Jan 21 '10 17:01

Jon Onstott


3 Answers

Keep in mind that Facelets is just a view layer for JSF 2. JSF2 and RichFaces have some incompatibilities. Check this to see a list of them:

http://community.jboss.org/wiki/RichFaces333andJSF20

RichFaces used with standalone Facelets (I currently use 1.1.14) works great.

like image 153
Drew Avatar answered Nov 06 '22 15:11

Drew


The RichFaces demo application uses Facelets, so I'd even say it's recommended.

like image 3
Bozho Avatar answered Nov 06 '22 15:11

Bozho


I'd go a bit further and say that not using Facelets with JSF is crazy.

It's such a handy framework. No wonder they used many concepts from it for JSF2.

like image 2
Damo Avatar answered Nov 06 '22 15:11

Damo