[
https://jira.jboss.org/jira/browse/JBSEAM-4026?page=com.atlassian.jira.pl...
]
Shane Bryzak closed JBSEAM-4026.
--------------------------------
Resolution: Done
Fixed in SVN - you can now override Seam.Remoting.displayError() to handle the error
differently.
Allow customization of Error Processing Request message
-------------------------------------------------------
Key: JBSEAM-4026
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4026
Project: Seam
Issue Type: Feature Request
Components: Remoting
Affects Versions: 2.1.1.GA
Reporter: Mike Pettypiece
Assignee: Shane Bryzak
Attachments: remote.js
From remote.js - if the response from the server is not HTTP 200, the follow code is
executed:
alert("There was an error processing your request. Error code: " + status);
It would be helpful to be able to change or suppress this message in certain situations.
Please see attached patch - I've moved the alert to a function which can be
overridden where required.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira