Hello everyone!
I need to make my resources built into (Data URI) piece of code that
will be called as asynchronous code.
I have a lot of separate asynchronous code and single
clientBundle(that it will use).
Should i initiate resources inside each onSuccess call? Like this:
...
public void onSuccess() {
...
Resources resources =
GWT.create(Resources.class);
Image img1 = new Image(resources.img1res());
RootPanel.get("Container").add(img1);
}
...
public void onSuccess() {
...
Resources resources =
GWT.create(Resources.class);
Image img2 = new Image(resources.img2res());
RootPanel.get("Container").add(img2);
}
...
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.