[ https://issues.apache.org/jira/browse/MYFACES-4156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16178896#comment-16178896 ]
Dora Rajappan commented on MYFACES-4156: ---------------------------------------- <h:commandButton type="submit" id="submit" action="#{userBean.success}" actionListener="#{userBean.login}" value="Login" > <f:ajax event="click" render="helloForm" execute="helloForm"/> </h:commandButton> Still partial response not contain facesmessage! <?xml version="1.0" encoding="UTF-8"?><partial-response id="j_id__v_0"><changes><update id="j_id__v_0:javax.faces.ViewState:1"><![CDATA[7CqkdFCcuvYzQhVgeuEVHERUXOVAtpLXCHYdtV5fVmDBHHe44THDrMJCqA0Py8doTFfDMK6ATRYorUcQnA3Nr8NZP874qT6mQVboRRY377ua90OHKhE6oP8gQQfnQBifkYwx5QLhjt1TArYhW5SthkTPEr38mbxexCf9usO2BN0znzSnT10niem4kTC6Kwg5Tgp/duvjBO3R3FHW6rLir5E/an6aWREoluBvRepoSl5sg0KWHE2E7HkFbonPIZp+2whV3tUy9Ce29PI6hwGSsfudyhTSjbF+W0xK2nqQnF1/3KmKWlS/sVk6MQjsCXE1WHoflGjaC16gqzbPs3hhfjz3m4SX5JIrREsl+b7MKxFKE8EMnaLMwiBv4sOsxTSnt3cv1QO89rcQdZOWTkL55mWyxtfP/aSq3J1Qw+nU/3jH9Iro7ldhd76Ie56PF1VkOyz6QxH7CRjUz8JT99luzsOW3Z+PN5q1wCMRxVIzkrDrzN6S1ms8pSZSd+3UeJi3nAIYMSGoaI8NNsJlqN23hGo7DlpfVhEUFRInQcgNH4tfKJ7IKyAa0J7I8Fmbe9hZJ0IOZs0liQtZm3Jl0mqNVnPvsLGaeI2FeQVuic8hmn7g9LQ4/NHNalzVtPwLoGkq9iRvuS/XToitkiLWlRgnsq4b++1SHmjBOO9SRugsT5X9QwdNwEnEYP8aiam19eBG4/Nw4NxleWYNM37W1SRrV6gR1Q1dvAEmbbIr7tXSB+8dyn8ahYaZ4ypXOqU1qJfzJh9JAJGVcDUngIzd5aU2QteKp/R17vtT3gmDeEu3L+vVAiSkGIHlvhsj2249INEOGaBn8/N7XwH1aPTkuW8AWc0bQDNn3TaAMUsAx11MuQ1jo2f4kJsI/V/M2TWiMDZ6/5nZpI+AAqXjSwTZKYjCPYY6uHyJ9zbsP7IAsA==]]></update></changes></partial-response> > Myface is not showing the FacesMessage after validation when > ValidatorException is thown. > ----------------------------------------------------------------------------------------- > > Key: MYFACES-4156 > URL: https://issues.apache.org/jira/browse/MYFACES-4156 > Project: MyFaces Core > Issue Type: Bug > Affects Versions: 2.3.0-beta > Reporter: Dora Rajappan > > Myfaces 2.3 is not showing the FacesMessage after validation when > ValidatorException is thrown. Same works with mojarra 2.2. > if (param.length() > 32) { > FacesMessage msg = new FacesMessage("Username should > not exceed 32"); > > throw new ValidatorException(msg); > } -- This message was sent by Atlassian JIRA (v6.4.14#64029)