You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
I have a doubt
GWT.runAsync(new RunAsyncCallback() {
public void onFailure(Throwable err) {
}
public void onSuccess() {
some static method (method is a huge chunk of
code)
}
});
Will the static method javascript be downloaded when the application
starts or when the code reaches the point ?
How does static variables and methods behave in runasync feature ?
Thank you
Vitali Lovich
unread,
Apr 9, 2009, 6:38:46 PM4/9/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-We...@googlegroups.com
Code referenced outside of the runAsync callback will be brought in on startup. If you only refer to that static function in the runAsync part (or in code brought in as a result) then it'll be downloaded in the background as expected.
You can use the SOYC tool to figure out exactly what's going on.