[jboss-jira] [JBoss JIRA] (AS7-3332) c:catch tag apparently doesn't work when using facelets.
Alexander Picoli (JIRA)
jira-events at lists.jboss.org
Mon Apr 23 13:07:18 EDT 2012
[ https://issues.jboss.org/browse/AS7-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12686750#comment-12686750 ]
Alexander Picoli commented on AS7-3332:
---------------------------------------
The error HTTP500 that I mentioned is specifically the exception BOOM being thrown, as shown in the annex. So, the issue really is that it *shouldn't* be thrown as an HTTP500, since it's inside a catch tag. I may just throw the exception variable away.
> c:catch tag apparently doesn't work when using facelets.
> --------------------------------------------------------
>
> Key: AS7-3332
> URL: https://issues.jboss.org/browse/AS7-3332
> Project: Application Server 7
> Issue Type: Bug
> Components: JSF
> Affects Versions: 7.0.2.Final
> Environment: JBoss application server running on a Windows 7 platform, inside eclipse platform.
> Reporter: Alexander Picoli
> Assignee: Stan Silvert
> Labels: c:catch, catch, facelets, jsf, jstl
> Attachments: Boom.java, ccatchdemo.xhtml, ccatchthrowsexceptionanyway.png
>
>
> When using the JSTL c:catch tag inside JSP pages, and I access an EL expression that throws a custom exception, the tag works fine.
> But when I use it with facelets, the c:catch is ignored and a HTTP500 message is sent to the client.
--
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 jboss-jira
mailing list