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
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
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
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
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
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
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
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 !
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
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();
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
11 matches
Mail list logo