Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-6295

New Faces Config Wizard creates invalid faces-config.xm v.2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.1.2, 3.2.0.M1
    • 3.2.x
    • jsf
    • None
    • Workaround Exists
    • Hide

      Add <name>someName</name> into root <faces-config> tag. For example:
      <?xml version="1.0"?>
      <faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      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">
      <name>someName</name>
      </faces-config>

      Show
      Add <name>someName</name> into root <faces-config> tag. For example: <?xml version="1.0"?> <faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xi="http://www.w3.org/2001/XInclude" 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 "> <name>someName</name> </faces-config>

      1. New->JBoss Tools->JSF->Faces Config (version - 2.0)
      2. Close and re-open Eclipse.
      3. Open created faces-config.xml
      4. The file is marked as invalid: Value cannot be empty.

              scabanovich Viacheslav Kabanovich (Inactive)
              alexeykazakov Alexey Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: