[
https://issues.jboss.org/browse/JBIDE-9098?page=com.atlassian.jira.plugin...
]
Alexey Kazakov updated JBIDE-9098:
----------------------------------
Summary: EL validation doesn't work for EL within tag body in JSF composite
components. (was: EL validation doesn't work for EL within tag body in JSF
composition components.)
EL validation doesn't work for EL within tag body in JSF
composite components.
------------------------------------------------------------------------------
Key: JBIDE-9098
URL:
https://issues.jboss.org/browse/JBIDE-9098
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.3.0.M2
Reporter: Alexey Kazakov
Assignee: Daniel Azarov
Fix For: 3.3.0.M2
EXECUTE: Create JSF 2 KickStart project.
EXECUTE: Open WebContent/resources/demo/input.xhtml
EXECUTE: Add {noformat}<h:outputText>#{msgs.error}</h:outputText>{noformat}
to <h:form>:
{code}
<composite:implementation>
<h:form>
<h:outputText value="#{cc.attrs.label}" />
<h:inputText value="#{cc.attrs.value}" />
<h:commandButton action="#{cc.attrs.action}"
value="#{cc.attrs.submitlabel}" />
<h:outputText>#{msgs.error}</h:outputText>
</h:form>
</composite:implementation>
{code}
EXECUTE: Save the file.
FAILURE: '"error" cannot be resolved' EL Knowledge Base Problem does
not appear
ASSERT: '"error" cannot be resolved' EL Knowledge Base Problem appears
BTW validation for attributes works fine:
<h:outputText value="#{msgs.error}"/>
The problem is in PageContextFactory which returns the context w/o any ELReference for
this page.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira