Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2468

MyFaces needs to support adding a <view-handler> in faces-config.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.0-beta
    • None
    • None

    Description

      The JSF-2 spec defines the <view-handler> tag to enable alternate VDLs via faces-config.xml.

      Since there is almost no component library out there which works with the built-in facelets-2 VDL, this is a showstopper for a lot scenarios:

      The way I need to use it (tried running RichFaces-3.3.3, Trinidad and PrimeFaces-2.0.CR1) :

      in web.xml:
      <context-param>
      <param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</param-name>
      <param-value>true</param-value>
      </context-param>

      and in faces-config.xml:
      <application>
      <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
      </application>

      Attachments

        1. myfaces-2468.patch
          11 kB
          Jakob Korherr
        2. Facelets1ViewDeclarationLanguageFactory.java
          0.4 kB
          Jakob Korherr
        3. Facelets1ViewDeclarationLanguage.java
          2 kB
          Jakob Korherr

        Activity

          People

            jakobkorherr Jakob Korherr
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: