wow it worked.

I had the same problem two days asgo , not calling ensureInjectede,
but in that case I was calling MyResources from the JavaCode.
here doing it in UiBinder, did not know where to put it.
Thank You !


which of the methods you suggested you think is better ?

@UiField MyResources res

- does GWT automagically instantiate this MyResources, calling
GWT.create behind the scenes ?
- if I put @UiField MyResources all over the place, in all the widgets
that require access to clientBundle,
does MyResources get created over and over, or is it singleton ?

- with @UiField MyResources res, being created automatically, is there
a need to GINject MyResources in a widget constructor ?
using @UiField MyResources seems to do the job, right ? when to use
GINjection to get hold of MyResources ?


Thank You !

-- 
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.

Reply via email to