0 Replies Latest reply on Jan 2, 2007 2:41 PM by heinzbeinz

    remoting + exceptions

    heinzbeinz

      Hi all,

      I didn't find a neat way to return errors in the java part to the javascript remoting part. 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());
      });

      If someone is interested, you can email me at heinzbeinz AT googlemail.com.

      Greetz,
      Nico