Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-6738 Make sure new JEE Eclipse 3.6 facet/natures are working
  3. JBIDE-6747

New Seam Project Wizard: Don't add com.sun.facelets.FaceletViewHandler into faces-config.xml 2.0

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 3.2.0.M2
    • 3.2.0.M1
    • seam2
    • None

      1. Create new Seam Project via New Web Seam Project wizard. Set JSF 2.0 facet version.
      2. See the generated faces-config.xml:

      <faces-config
      xmlns="http://java.sun.com/xml/ns/javaee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
      version="2.0">
      <application>
      <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
      ...
      </application>

      </faces-config>

      For jsf 2.0 we should not set com.sun.facelets.FaceletViewHandler. It's required only for faces-config 1.2.

              alexeykazakov Alexey Kazakov
              alexeykazakov Alexey Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: