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

Quick fixes don't work in WTP XML Editor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • LATER
    • 4.0.0.Alpha1
    • common
    • None

      Create JSF2 KickStart project.
      Open faces-config.xml

      Add #

      {user.names} there:
      faces-config.xml
      <?xml version="1.0" encoding="UTF-8"?>
      
      <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">
      
      	<navigation-rule>
      		<from-view-id>/pages/inputname.xhtml</from-view-id>
      		<navigation-case>
      			<from-outcome>greeting</from-outcome>
      			<to-view-id>/pages/greeting.xhtml</to-view-id>
      		</navigation-case>
      	</navigation-rule>
      #\{user.names}
          <application>
              <resource-bundle>
                  <base-name>resources</base-name>
                  <var>msgs</var>
              </resource-bundle>
          </application>
      </faces-config>
      


      Save the file.
      Open it with XML Editor (not JBoss XML Editor).
      Move the mouse over the problem marker on #{user.names}

      Click on Configure Problem Severity... quick fix.
      Nothing happend.

            jmaury@redhat.com Jeff MAURY
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: