[
https://issues.apache.org/jira/browse/TAPESTRY-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530756
]
Kalin Krustev commented on TAPESTRY-1650:
-----------------------------------------
org.apache.tapestry.corelib.pages.ExceptionReport should set error status on
the HTTPServletResponse.
For example:
@Inject
private RequestGlobals rg;
public void reportException(Throwable exception)
{ .....
rg.getHTTPServletResponse().setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
.....
}
This will allow AJAX code to distinguish errors from normal responses.
> Tracking issue for Ajax support
> -------------------------------
>
> Key: TAPESTRY-1650
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1650
> Project: Tapestry
> Issue Type: New Feature
> Components: tapestry-core
> Affects Versions: 5.0
> Reporter: Howard M. Lewis Ship
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]