[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1750) Accessing handledException through EL broken

Samuel Mendenhall (JIRA) jira-events at lists.jboss.org
Wed Aug 1 12:08:49 EDT 2007


Accessing handledException through EL broken
--------------------------------------------

                 Key: JBSEAM-1750
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1750
             Project: JBoss Seam
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.2.1.GA
            Reporter: Samuel Mendenhall
         Assigned To: Norman Richards
            Priority: Minor


Bean:
throw new HibernateException("Test");

pages.xml:
<exception class="org.hibernate.HibernateException">
	<end-conversation/>
	<redirect view-id="/error.xhtml">
	    <message severity="WARN">#{org.jboss.seam.handledException.message}</message>
	</redirect>
    </exception> 

I am correctly redirected to the error.seam page however the message is empty and in my console I have:

11:52:47,571 WARN  [Interpolator] exception interpolating string: #{org.jboss.seam.handledException.message}
javax.faces.el.PropertyNotFoundException: Bean: org.hibernate.HibernateException, property: message
....

Furthermore, the documentation says to use #{handledException.message} which is incorrect, it should be #{org.jboss.seam.handledException.message}.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list