[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-633) remoting extension in handling exceptions on client side

manuel kallenbach (JIRA) jira-events at lists.jboss.org
Sat Jan 24 07:12:44 EST 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12449587#action_12449587 ] 

manuel kallenbach commented on JBSEAM-633:
------------------------------------------

Thanks for implementing this.

However, there is one thing I think that's not working properly.

If you start a batch of remote calls and specify only an exception handler for each but the last call (callback is null for the first calls), the callback of the last call in the batch won't be called. 

I hope you could understand that. My english is not the best ;-)

> remoting extension in handling exceptions on client side
> --------------------------------------------------------
>
>                 Key: JBSEAM-633
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-633
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Exception Handling, Remoting
>    Affects Versions: 1.1.0.GA
>            Reporter: Nico Gau
>            Assignee: Shane Bryzak
>            Priority: Optional
>             Fix For: 2.1.1.CR1
>
>
> 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

-- 
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

        



More information about the seam-issues mailing list