[jbosstools-issues] [JBoss JIRA] (JBIDE-10699) EL is not validated if "var" attribute is used

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Mon Jan 23 20:18:18 EST 2012


Alexey Kazakov created JBIDE-10699:
--------------------------------------

             Summary: EL is not validated if "var" attribute is used
                 Key: JBIDE-10699
                 URL: https://issues.jboss.org/browse/JBIDE-10699
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: JSF, jsp/jsf/xml source editing
    Affects Versions: 3.3.0.Beta1
            Reporter: Alexey Kazakov
            Assignee: Alexey Kazakov
             Fix For: 3.3.0.Beta1


1. Create JSF 2 KickStart project.
2. Open User.java
3. Add the following method to the class:
{code}
public List<String> getString() {
    return new ArrayList<String>();
}
{code}
4. Open inputname.xhtml
5. Add the following method to the page:
{code}
<h:dataTable value="#{user.string}" var="test">
        <h:outputText value="#{test.broken}" />
</h:dataTable>
{code}
6. Save the file.
7. ASSERT: "broken" is marked with warning that it cannot be resolved.
Now it will be marked only if you enable validation of EL variables (Windows->Preferences->JBoss Tools->Web->Expression Lenguage->Validation->Variable cannot be resolved->Warning). Only properties validation is enabled by default.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list