Hi there,
I'm currently writing an application which fetches Data from an DB2
Database. I've got a very basic question opn returning values from
RPC
Here's the method, which calls the RPC:
public int loginUser(String user, String passwd, boolean override){
loginFeedback = -1;
Hi there,
I'm currently writing an Application with GWT, and am Stuck at one
position:
When I call my RPC, the value which is to be returned, will be passed
to an global variable. Unfortunately, the returning of this global
variable out of the method happens before the onSuccess comes
back.
LoginCallback to call from the
onFailure.
Take the code that currently follows the call to your loginUser method
and move it into the onLogin method of an instance of LoginCallback
that gets passed to the new loginUser method. Think Async! ;-)
HTH,
Chad
On Jun 8, 8:07 am, uwi_u uwe.chris
to continue with in onSuccess
Stefan Bacherthttp://gwtworld.de
On Jun 8, 3:07 pm, uwi_u uwe.chris...@gad.de wrote:
Hi there,
I'm currently writing an Application with GWT, and am Stuck at one
position:
When I call my RPC, the value which is to be returned, will be passed
to an global
Hi!
I'm writing an application which starts a new timer for each user
logging in.
I'm storing the timers in a HashMap for easy access. A KeepAlive from
Client will get the timer out of the Hashmap and reset it. But when
executing Timer t = new Timer(){}, the method crashes. Can
somebody tell
A. I guess it's the following:
I included com.google.gwt.user.client.Timer instead of
java.util.Timer... could this be the reason?
On 15 Jun., 16:25, uwi_u uwe.chris...@gad.de wrote:
Hi!
I'm writing an application which starts a new timer for each user
logging in.
I'm storing
It indeed was the reason. No GWT-Client-Code in ServerImplementation.
Sounds sane ;-)
On 15 Jun., 16:39, uwi_u uwe.chris...@gad.de wrote:
A. I guess it's the following:
I included com.google.gwt.user.client.Timer instead of
java.util.Timer... could this be the reason?
On 15 Jun., 16:25