1 Reply Latest reply: Jul 10, 2012 3:31 PM by 948553 RSS

    JSF 2.0 view handler

    dvohra21
      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
          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