Aw, crap - Aiden even specifically said that, and I missed it.
Thanks for pointing it out. Now, don't mind me as I smack my palm
against my forehead. Twice.
- Joe
On Nov 4, 4:35 pm, Danny Kirchmeier da...@kirchmeier.us wrote:
Does your Style1.css now say this:
@external .gwt-Button;
All,
I'm getting an exception trying to use CssResources and ClientBundle.
Admittedly, I'm completely new to it and don't really quite know what
I'm doing.
So, can someone explain to me why this doesn't work, and what exactly
it is that I'm doing wrong?
In any case, here's my code. Both
You have .gwt-Button in the .css file, but not in the style interface,
hence the compile error. It should be a clearer error (if you stop/start
dev mode it will probably give you the correct error, and it certainly will
if you GWT-compile the project)
In any case, to fix, you need to declare
Aidan,
Thanks. I'm still really just learning this stuff, so I'll admit to
some cluelessness.
Your advice took care of the Exception being thrown.
However, I've noticed that the Button is ignoring the style. Am I
using this technique incorrectly? I also tried adding ! important
to the style
Does your Style1.css now say this:
@external .gwt-Button;
.gwt-Button{
background: black;
color: cyan;
}
Don't forget the semicolon at the end of the @external line. I forgot it
the first few times I used it. It causes no error to be thrown and next
style to be completely ignored.
It worked