This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Facelets View handler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Facelets View handler" Watch "Facelets View handler" New topic
Author

Facelets View handler

sardar waqas ahmed
Greenhorn

Joined: Oct 19, 2011
Posts: 16
is it necessary to add following piece of code in faces-cfg.xml file when using jsf2.0


<application>
<!-- Enables Facelets -->
<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
</application>
Carl Manschold
Greenhorn

Joined: Oct 20, 2011
Posts: 6
No, facelets are default in JSF 2
sardar waqas ahmed
Greenhorn

Joined: Oct 19, 2011
Posts: 16
Thanks carl

there is no need to define facelets in jsf 2.0
 
wood burning stoves
 
subject: Facelets View handler
 
Similar Threads
JSF + EJB (Need to define templates)
"no tag was defined for name: include" error
JSF tags not rendering in .xhtml file but render in .jsp
variable resolving problem in JSF
How do I start a web application on an xhtml page?