All Questions
13
questions
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 ...
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&...
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 ...
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 =...
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(){
...
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)
...
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>() {
@...
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 ...
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 ...
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 ...
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 "...
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 ...
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 ...