RichFaces and Facelets, a good combo?
Asked Answered
P

6

8

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.

Prostyle answered 21/1, 2010 at 17:3 Comment(0)
J
6

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.

Jacquelynejacquelynn answered 22/1, 2010 at 16:13 Comment(1)
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)Prostyle
H
3

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

Hankering answered 22/1, 2010 at 7:27 Comment(0)
K
2

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.

Khelat answered 20/7, 2010 at 21:57 Comment(0)
F
0

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

Fireguard answered 21/1, 2010 at 17:8 Comment(0)
A
0

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

Algophobia answered 22/1, 2010 at 9:0 Comment(0)
S
0

I'm used configuration: richfaces4 + facelets + netbeans 6.9, and the only problem detected betwen facelets and rich is a two(2) click for ajax or include page dynamic

Supernova answered 20/10, 2011 at 13:9 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.