aspose file tools
The moose likes JSF and the fly likes Facelets View handler Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Facelets View handler
 
Similar Threads
How do I start a web application on an xhtml page?
"no tag was defined for name: include" error
JSF + EJB (Need to define templates)
variable resolving problem in JSF
JSF tags not rendering in .xhtml file but render in .jsp