for-Attribute of UIMessage and HtmlOutputLabel does not work with an EL
Expression
----------------------------------------------------------------------------------
Key: MYFACES-1745
URL: https://issues.apache.org/jira/browse/MYFACES-1745
Project: MyFaces Core
Issue Type: Bug
Affects Versions: 1.2.1-SNAPSHOT
Environment: Tomcat 6.0.15 (snapshot), Facelets 1.1.14
Reporter: Jan Ziegler
When using an EL-Expression in the 'for'-Attribute of a UIMessage or
HtmlOutputPanel, the EL is always resolved to null.
Here is an Example:
...
<h:form>
<h:outputLabel for="#{testBean.test}" />
<h:inputText id="#{testBean.test}" value="" required="true" />
<h:message for="#{testBean.test}" />
<h:commandButton value="click" />
</h:form>
...
You see that the 'for'-Attributes of the message and label as well as the
'id'-Attribute of the inputText refer to the same value which returns some
valid string in my TestBean:
...
public String getTest()
{
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.