I have 4 packeages
From .gui.loginpage
On onClickmethod of a button I make a object of Login Class which is in client.control
onSuccess of RPC public Boolean setConnection(true)
but when i try to getConnectionform .gui.loginpage its show me null.
because the call back function is executed asynchronously, the function is invoked after the response comes to the browser from the server.
But the other part of the code is executed immediately by which time connection is still null.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/JF6fL4gXVSUJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.