[ 
https://issues.apache.org/jira/browse/MYFACES-4156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16178902#comment-16178902
 ] 

Thomas Andraschko edited comment on MYFACES-4156 at 9/25/17 12:00 PM:
----------------------------------------------------------------------

It should actually NOT. Also i can't see any h:message(s) tag in your example.
If you don't render the messages, they will also not getting updated. Default 
for render is @none.


If you don't provide a simple xhtml and a simple bean, nobody can help you. It 
works fine for me as designed and not sure why Mojarra does weird things, which 
should not work with your posted example.


was (Author: tandraschko):
It should actually NOT. Also i can't see any h:message(s) tag in your example.
If you don't render the messages, they will also not getting updated. Default 
for render is @none.

> 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)

Reply via email to