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

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


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

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

I think JSF has default exception handler this exception...

OK, skip this issue, I used a boolean var to determine if I need to redirect to other pages.
                
> 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