This discussion is archived
1 Reply Latest reply: Jul 10, 2012 1:31 PM by 948553 RSS

JSF 2.0 view handler

dvohra21 Oracle ACE
Currently Being Moderated
JDeveloper documentation has an error in configuring the view handler.
http://download.oracle.com/docs/cd/E16162_01/user.1112/e17455/dev_wpt.htm#OJDUG3574
Example 11-4 Facelet Code Added to Your faces-config.xml

<application>
<view-handler>com.sun.Facelets.FaceletViewHandler</view-handler>
</application>

com.sun.Facelets.FaceletViewHandler is the JSF 1.2 view handler. For JSF 2.0 a view handler is not to be configured.

Edited by: dvohra16 on Jul 7, 2012 2:07 PM
  • 1. Re: JSF 2.0 view handler
    948553 Newbie
    Currently Being Moderated
    Thank-you for pointing out this in our documentation. I have removed this section since the faces-config.xml does not get modified to add the view handler detail in JSF 2.0. when one adds a facelet page.

    Edited by: user742463 on Jul 10, 2012 1:30 PM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points