[jboss-user] [JBoss Seam] - remoting + exceptions

heinzbeinz do-not-reply at jboss.com
Tue Jan 2 14:41:34 EST 2007

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.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997347#3997347

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997347

More information about the jboss-user mailing list