Skip to main content

All Questions

Tagged with
0 votes
1 answer
23 views

How to get variable from GWT Callback

I'm trying to get a state of a server variable using a callback. Obviously, the state is always false. How can I get the state from the server? Or another question, which options do I have to get ...
NorrtT's user avatar
  • 25
1 vote
2 answers
969 views

GWT - How to return a String value from RequestBuilder after receiving a response?

I'm unable to figure out how to return a String value from RequestBuilder's sendRequest() method after receiving a response. I referred to a similar question where the suggestion was to use Callback&...
Anish Sana's user avatar
0 votes
0 answers
522 views

GWT AsyncCallback not returning to client

So I have a problem receiving back an RPC call from my second app module. Whatever callback I use, whatever parameters I pass along, the call will always be processed to the very end server-side, but ...
Phil's user avatar
  • 1
0 votes
1 answer
209 views

how to use callback in GWT ListGrid.exportdata

btnDownloadExcel.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { ApplicationController.isLogout = false; final ProgressBarWindow progressBarWindow =...
Subodh Kumar's user avatar
1 vote
1 answer
2k views

Wait for AsyncCallback before continuing

I currently have the following relevant code-snippet: public class MyEntryPoint implements EntryPoint { private boolean areFieldsEnabled = false; @Override public void onModuleLoad(){ ...
Kevin Cruijssen's user avatar
3 votes
1 answer
720 views

get current CallBack count?

Is its possible to get how many Callbacks like below are current running? (new AsyncCallback<List<data>>() { @Override public void onFailure(Throwable caught) ...
Domi's user avatar
  • 1,369
1 vote
1 answer
112 views

It is possible to avoid rewriting many times the same callback?

I need to call a service passing always the same callback "AsyncCallbackAdapter" auditingServicesRpc.tracePrivacy(requestDesc, ip, new AsyncCallbackAdapter<Integer>() { @...
valerio's user avatar
  • 53
0 votes
2 answers
339 views

GWT DefaultRequestTransport: when/why to extend?

I've seen several GWT code excerpts where the developer extended DefaultRequestTransport and gave it custom functionality. One such example is in this SO question regarding authentication/login ...
IAmYourFaja's user avatar
  • 56.5k
0 votes
1 answer
516 views

GWT Async call always fail

I have some problems with my gwt project, i use eclipselink and hsqldb as database. Here is my code: Project.java: package com.example.client; public class Project implements EntryPoint { private ...
Alessandro Mercurio's user avatar
1 vote
3 answers
866 views

GWT RPC AsynCallback skips onSucces and onFail methods

I've try to code a GWT application and I need to use RPC to get results from server side. I followed the GWT RPC tutorial and end up with some goods. But when I debug my program, I saw that my program ...
Uğurcan Şengit's user avatar
2 votes
1 answer
3k views

GWT DialogBox that returns values back to the "opener"

I want to create a popup (implemented as a DialogBox or other similar component) which i should be able to reuse in multiple pages or forms. I want the DialogBox to be able to return a value to the "...
David's user avatar
  • 109
4 votes
3 answers
11k views

Creating a modal dialog in GWT

I'm a GWT and Java newbie trying to figure out how to create a synchronous (modal) dialog in GWT, but I'm having difficulty. The DialogBox class has a flag that says: modal - true if keyboard and ...
Mitch's user avatar
  • 1,724
6 votes
2 answers
5k views

Client side Callback in GWT

I'm trying to create a logger for a GWT application as an exercise to evaluate GWT. What I specifically want to do is have it so that I can post messages to a client side label at any point from the ...
Henry B's user avatar
  • 8,027