[seam-issues] [JBoss JIRA] (SEAMFACES-225) messages.error should prevent page navigation

hantsy bai (Commented) (JIRA) jira-events at lists.jboss.org
Wed Jan 4 23:46:09 EST 2012


    [ https://issues.jboss.org/browse/SEAMFACES-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653950#comment-12653950 ] 

hantsy bai commented on SEAMFACES-225:
--------------------------------------

What I need is very simple, I want to add a custom validation myself and display the validation error in the original view.

It is very simple in Seam2 application via FacesMessages.

                
> messages.error should prevent page navigation
> ---------------------------------------------
>
>                 Key: SEAMFACES-225
>                 URL: https://issues.jboss.org/browse/SEAMFACES-225
>             Project: Seam Faces
>          Issue Type: Bug
>         Environment: JBoss 7.0.2.Final, JBoss Seam 3.1.0.CR1
>            Reporter: hantsy bai
>
> Please check out my demo application and browse /tags.xhtml.
> 1. click the Button to create a Tag, 
> 2. input something 
> 3. press Create 5
> I used Messages.error in the create5 method, it SHOULD prevent the page navigiation to tags.xhtml page, but it returned to the tags.xhtml page.

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

        


More information about the seam-issues mailing list