views:

648

answers:

5

Hello,

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.

A: 

We use them together without any problem. I have not encountered any gotchas.

rayd09
+3  A: 

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

Bozho
Good point, it shouldn't be a problem then ;o)
Jon
A: 

No worry about this combination, it's definitely the way to go with JSF !

Chris
+3  A: 

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.

Drew
Thanks for the info. Richfaces 4 is going to be built on JSF 2 and I think they are reworking a lot of it, but who knows when that'll be out ;o)
Jon
@Jon Soon. (tm)
Drew
Nice, good to hear.
Jon
+2  A: 

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.

Damo