This content has been marked as final.
Show 2 replies
-
1. Re: Seam Remote method returns object instead of primitive
shane.bryzak Oct 9, 2009 3:55 AM (in response to joseph.dimi_mcclane.yahoo.de)Of course this won't work, it's an asynchronous call. You need to pass a reference to a callback method in your getValue() invocation and then you can do something with the return value there.
-
2. Re: Seam Remote method returns object instead of primitive
joseph.dimi_mcclane.yahoo.de Oct 9, 2009 2:24 PM (in response to joseph.dimi_mcclane.yahoo.de)Thanks! I was in a hurry to make a working demo, so i misunderstood the documentation a bit, which says that a callback is
entirely optional
. But as you said, this is an asynchronous call and now its strikes me!