This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes 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


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
 
Don't get me started about those stupid light bulbs.
 
subject: Facelets View handler