wood burning stoves 2.0*
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 Java 8 in Action this week in the Java 8 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Facelets View handler
 
Similar Threads
JSF + EJB (Need to define templates)
variable resolving problem in JSF
JSF tags not rendering in .xhtml file but render in .jsp
"no tag was defined for name: include" error
How do I start a web application on an xhtml page?