myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dora Rajappan (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Reopened] (MYFACES-4156) Myface is not showing the FacesMessage after validation when ValidatorException is thown.
Date Wed, 27 Sep 2017 08:07:00 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-4156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dora Rajappan reopened MYFACES-4156:
------------------------------------

FacesMessage is not displayed for more than one wrong entries(eg password retry max 3 attempts).
This scenario is replicated with the project you have provided as it is. FacesMessage is correctly
displayed for the first wrong entry and not for the subsequent entries unless page is refreshed.

> 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
>         Attachments: login.xhtml, MessageBean.java, mf23test.zip, MyValidator.java
>
>
> 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)

Mime
View raw message