[jbosstools-issues] [JBoss JIRA] (JBIDE-12359) Quick fixes don't work in WTP XML Editor
Daniel Azarov (JIRA)
jira-events at lists.jboss.org
Mon Nov 12 15:00:18 EST 2012
[ https://issues.jboss.org/browse/JBIDE-12359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Azarov updated JBIDE-12359:
----------------------------------
Description:
Create JSF2 KickStart project.
Open faces-config.xml
Add #{user.names} there:
{code:xml|title=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>
{code}
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.
was:
Create JSF2 KickStart project.
Open faces-config.xml
Add #{user.names} there:
{code:xml|title=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>
{code}
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.
> Quick fixes don't work in WTP XML Editor
> ----------------------------------------
>
> Key: JBIDE-12359
> URL: https://issues.jboss.org/browse/JBIDE-12359
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: common/jst/core
> Affects Versions: 4.0.0.Alpha1
> Reporter: Alexey Kazakov
> Assignee: Daniel Azarov
> Fix For: 4.1.x
>
>
> Create JSF2 KickStart project.
> Open faces-config.xml
> Add #{user.names} there:
> {code:xml|title=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>
> {code}
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list