[
https://issues.jboss.org/browse/JBIDE-10660?page=com.atlassian.jira.plugi...
]
Alexey Kazakov resolved JBIDE-10660.
------------------------------------
Assignee: Daniel Azarov (was: Alexey Kazakov)
Resolution: Done
Fixed. Daniel, please verify.
JSF EL validation is not scoped correctly
-----------------------------------------
Key: JBIDE-10660
URL:
https://issues.jboss.org/browse/JBIDE-10660
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 3.3.0.M5
Reporter: Cody Lerum
Assignee: Daniel Azarov
Fix For: 3.3.0.Beta1
Given the following code if you hold down control and click on the second #{_a....} it
will take you to a type of providerAccountType where it should be providerAccountScope. It
seems that if you keep using _a as the var it will always follow the first declaration
even though it should be scoped to only be visible in the h:selectOneMenu. This can be
confirmed by trying to use the #{_a} completely outside of the <h:selectOneMenu> and
seeing that code assist resolves the _a to the first type of providerAccountType
{code}
<h:selectOneMenu value="#{providerBillingAccount.providerAccountType}"
required="true" requiredMessage="Required">
<f:selectItem itemLabel="Choose"/>
<f:selectItems value="#{enumValues.providerAccountType}"
var="_a" itemLabel="#{_a.displayName}" />
</h:selectOneMenu>
<h:selectOneMenu value="#{providerBillingAccount.providerAccountScope}"
required="true" requiredMessage="Required">
<f:selectItem itemLabel="Choose"/>
<f:selectItems value="#{enumValues.providerAccountScope}"
var="_a" itemLabel="#{_a.displayName}" />
</h:selectOneMenu>
{code}
--
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