[jbosstools-issues] [JBoss JIRA] (JBIDE-10699) EL is not validated if "var" attribute is used
Vlado Pakan (JIRA)
jira-events at lists.jboss.org
Mon Feb 6 06:44:49 EST 2012
[ https://issues.jboss.org/browse/JBIDE-10699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vlado Pakan updated JBIDE-10699:
--------------------------------
Attachment: validationSettings.png
testProposal.png
> 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: Vlado Pakan
> Fix For: 3.3.0.Beta1
>
> Attachments: testProposal.png, validationSettings.png
>
>
> 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