File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes JSF template or Facelets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF template or Facelets" Watch "JSF template or Facelets" New topic

JSF template or Facelets

Pawanpreet Singh
Ranch Hand

Joined: Jun 12, 2005
Posts: 264

Hi Everyone,

I am new to JSF framework. I want to migrate one struts tiles bases app to JSF, so there must be something like template in JSF. I found JSFTemplate and Facelets options.

So could anybody please let me know that which one is better and stable option to pick, so that i can do the work easily.

I heard of that JSFTemplating is somewhat complex. Is it true?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17282

I don't know about JSFTemplate. I do know that Facelets is a LOT more civilized than Tiles, however.

There are two other reasons why I like Facelets:

1. You get better error diagnostics on page problems than you do from straight JSF.

2. You can implement custom Facelets tags in a simpler way than you can do JSF tags (since the rendering isn't as abstract).

An IDE is no substitute for an Intelligent Developer.
Pawanpreet Singh
Ranch Hand

Joined: Jun 12, 2005
Posts: 264

Thank you Tim
I agree. Here's the link:
subject: JSF template or Facelets
jQuery in Action, 3rd edition