aspose file tools*
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Facelets View handler