Details
Description
I have a simple form with two required fields.
First field has label with plain text.
Second field has a label with an EL expression.
The label with the EL expression is not shown in messages if javax.faces.PARTIAL_STATE_SAVING is set to false.
The error occurs with myfaces 2.1.8.
It works correctly with mojarra 2.1.11
Sample:
<h:form id="myform">
<h:inputText id="name" value="#
" required="true" label="Hardcoded name" />
<h:inputText id="password" value="#
" required="true" label="#
{msgs['password']}"/>
<h:commandButton id="loginButton"
action="#
"
value="Login"/>
<t:messages id="idMsgs"
showDetail="false"
showSummary="true"
replaceIdWithLabel="true"/>
</h:form>
This is currently a blocker for an update from JSF 1.2 to 2.1