[seam-issues] [JBoss JIRA] (SEAMFACES-226) Jsf VilidatorException caused a EJBRollbackException

hantsy bai (Commented) (JIRA) jira-events at lists.jboss.org
Tue Dec 6 21:23:40 EST 2011


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

hantsy bai commented on SEAMFACES-226:
--------------------------------------

I also tried to use facesContext.addFacesMessage(I am sure this way worked well in none Seam based project), it still to redirect, not keep on the same page, do you think this is a problem of Seam or CDI itself?
                
> Jsf VilidatorException caused a EJBRollbackException
> ----------------------------------------------------
>
>                 Key: SEAMFACES-226
>                 URL: https://issues.jboss.org/browse/SEAMFACES-226
>             Project: Seam Faces
>          Issue Type: Bug
>            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 6
> I used new ViliadtorException to throw a custom validation error in the create6 method, it SHOULD display the message in the current page, but I got EJBRollbackException in the background JBAS console, and the conversation data was discarded.

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