Re: GWT documentation for UiBinder typo ? Spriter or Sprite ?

2011-01-16 Thread Thomas Broyer
See http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#What_options_can_be_passed_to_development_mode (hint: -gen), and same for the compiler. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: GWT documentation for UiBinder typo ? Spriter or Sprite ?

2011-01-15 Thread Y2i
What does com.my.app.widgets.logoname.Resources look like? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Re: GWT documentation for UiBinder typo ? Spriter or Sprite ?

2011-01-15 Thread Thomas Broyer
On Saturday, January 15, 2011 4:41:55 AM UTC+1, zixzigma wrote: from GWT documentation on UiBinder [1] in the code fragment below, is this a typo, do we need to use Sprite or Spriter ? Sprite userPictureSprite(); That's a typo, it should be a String. It will be the obfuscated CSS class

Re: GWT documentation for UiBinder typo ? Spriter or Sprite ?

2011-01-15 Thread zixzigma
you can see the code below, the code displays the image (homeIcon), but the css style is not applied (to my link for example) public interface MyResources extends ClientBundle { @Source(style.css) Style css(); @Source(homeIcon.png) ImageResource homeIcon(); public interface Style

Re: GWT documentation for UiBinder typo ? Spriter or Sprite ?

2011-01-15 Thread zixzigma
the warning message in the IDE is Unknown CSS class 'css.foo' and that arguments of method UiObject.setStyleName and attributes styleName in ui.xml does not refer to a CSS class. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: GWT documentation for UiBinder typo ? Spriter or Sprite ?

2011-01-15 Thread Thomas Broyer
On Saturday, January 15, 2011 10:12:09 PM UTC+1, zixzigma wrote: you can see the code below, the code displays the image (homeIcon), but the css style is not applied (to my link for example) [...] I am not calling ensureInjected anywhere, could it be that ? Yes. where should I call

Re: GWT documentation for UiBinder typo ? Spriter or Sprite ?

2011-01-15 Thread zixzigma
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

Re: GWT documentation for UiBinder typo ? Spriter or Sprite ?

2011-01-15 Thread Thomas Broyer
On Saturday, January 15, 2011 10:44:25 PM UTC+1, zixzigma wrote: 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 !

Re: GWT documentation for UiBinder typo ? Spriter or Sprite ?

2011-01-15 Thread zixzigma
how can I see what the generated code looks like ? what generated code you are talking about ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from

GWT documentation for UiBinder typo ? Spriter or Sprite ?

2011-01-14 Thread zixzigma
from GWT documentation on UiBinder [1] in the code fragment below, is this a typo, do we need to use Sprite or Spriter ? Sprite userPictureSprite(); /** * Resources used by the entire application. */ public interface Resources extends ClientBundle { @Source(Style.css) Style style();

Re: GWT documentation for UiBinder typo ? Spriter or Sprite ?

2011-01-14 Thread zixzigma
I also cannot get this code from GWT documentation to work. I have a code similar to below : (multiple checked everything over and over) I have included ui:with at the toop of uiBinder. this part, (basically referring to css styles defined in ClientBundle through the following syntax within