Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-633

remoting extension in handling exceptions on client side

    Details

      Description

      Hi all,

      I don't really know what JIRA is by the way, so hopefully nobody is upset by this post. I first mailed Gavin but he told me I should put it in JIRA.

      I currently work on a project which uses Seam Remoting directly and I didn't find a neat way in handling errors on the client side as Exceptions are not propagated to it. Therefore I changed Seam to transmit all exceptions which can be handled in the javascript part via another callback. E.g.:

      Seam.Component.getInstance('userManager').currentUser(function(user) {
      alert("user: " + user);
      },
      function(ex) {
      alert("exception occured: " + ex.getMessage());
      });

      As the exception handler is optional, the change would not brake any client code. If you are interested in the change, you can reach me at heinzbeinz AT googlemail.com

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  shane.bryzak Shane Bryzak
                  Reporter:
                  heinzbeinz Nico Gau
                • Votes:
                  8 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: