Thank u all 4 ur replies..my problem is soloved now.
On Jun 7, 5:16 pm, Jens jens.nehlme...@gmail.com wrote:
You only have a problem if you use GWT.runAsync in your method. If so,
everything that is inside the RunAsyncCallback.onSuccess method will be
downloaded as a separate javascript file
Jen if u can show me some example of GWT.runAsync regarding this
problem..then it wud be great help to me..im still stuck in this maze
field
On May 26, 1:48 pm, ankit ankitsaxena0...@gmail.com wrote:
Thanks Jen...if u can give me some example of GWT.runAsync...then it
wud be little helpful to
Jens if u can show me some example of GWT.runAsync regarding this
problem..then it wud be great help to me..im still stuck in this maze
field
On Jun 7, 3:35 pm, ankit ankitsaxena0...@gmail.com wrote:
Jen if u can show me some example of GWT.runAsync regarding this
problem..then it wud be great
Jens if u can show me some example of GWT.runAsync regarding this
problem..then it wud be great help to me..im still stuck in this maze
field
On Jun 7, 3:35 pm, ankit ankitsaxena0...@gmail.com wrote:
Jen if u can show me some example of GWT.runAsync regarding this
problem..then it wud be great
You only have a problem if you use GWT.runAsync in your method. If so,
everything that is inside the RunAsyncCallback.onSuccess method will be
downloaded as a separate javascript file once your app reaches this point.
The download will happen in parallel/async in production mode. In dev mode
Thanks Jen...if u can give me some example of GWT.runAsync...then it
wud be little helpful to me
On May 24, 2:13 pm, Jens jens.nehlme...@gmail.com wrote:
No I assumed you call your model.setRecords() method inside the model()
method (because thats the only place where you can call it). So in my
Thnks Jens for ur reply...but as far as i know u thought that that my
anonymous class method is not getting call. but it is not so. my
anonymous class method is executing but only after the execution of
outer method.
On May 23, 3:50 pm, Jens jens.nehlme...@gmail.com wrote:
Maybe I don't get
No I assumed you call your model.setRecords() method inside the model()
method (because thats the only place where you can call it). So in my
example the call label.setText() would by the model.setRecords() call in
your example.
It has to be executed in order. Just imagine your anonymous
thnks to u Juan.but the problem still exist.setRecords() is
executing after model().
On May 20, 4:16 pm, Juan Pablo Gardella gardellajuanpa...@gmail.com
wrote:
Do:
public void model(){
System.out.println(This line is executing);
DataListModel model = new
Maybe I don't get it right but in an entrypoint class:
@Override
public void onModuleLoad() {
System.out.println(onModuleLoad(): started);
Label label = new Label() {
@Override
public void setText(final String text) {
System.out.println(Label.setText(): + text);
super.setText(text);
}
thanks Juan for ur reply.i have one thread only as GWT is
single threaded. but i need to run the anonymous class method when the
called method runs heres my sample code of the problem
public void model(){
System.out.println(This line is executing);
DataListModel model
DataListModel model = new DataListModel() {
public void setRecords(List records) {
System.out.println(I see this line after model() executes
completely);
int i = 0;
records = new LinkedList(records);
}
}
This is simply instantiating a subclass
yes u are right Magnoand DataListModel setRecords() is
getting call thats why i can see output on my console i see this
line after model() executes completely but problem is this executes
after model() execution. but i want it to be execute while model() is
executing hope u
Do:
public void model(){
System.out.println(This line is executing);
DataListModel model = new MyDataListModel(records) ;
}
System.out.println(this line is executed and executing
DataListModel.setRecords());
}
MyDataListModel extends/implements DataListModel{
public
i am making a GWT framework similar to Swing framework. in GWT, i have
one method in which i am making a anonymous class in method. but
problem is when this method executes, execution control does not go to
anonymous class instead it skips over it. after this method executes
completely, control
In gwt app you only have 1 thread. In swing you queue this actions in EDT
thread. How do you manage this?
2011/5/16 ankit ankitsaxena0...@gmail.com
i am making a GWT framework similar to Swing framework. in GWT, i have
one method in which i am making a anonymous class in method. but
problem
16 matches
Mail list logo