Michael Heinen created MYFACES-3591:
---------------------------------------

             Summary: Labels with EL expressions are not shown in messages if 
partial state saving is disabled
                 Key: MYFACES-3591
                 URL: https://issues.apache.org/jira/browse/MYFACES-3591
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.1.8
         Environment: tested with tomhawk20-1.1.12 and 1.1.13.
and with tomcat 6.0.35 and 7.0.29
            Reporter: Michael Heinen


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="#{myController.name}" required="true"  
label="Hardcoded name" />
  <h:inputText id="password" value="#{myController.password}" required="true" 
label="#{msgs['password']}"/> 

 <h:commandButton id="loginButton"
                  action="#{myController.login}"
                  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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to