Re: Using events but keeping styles out of UiBinder??

2016-03-02 Thread Adolfo Rodriguez
Thanks for your comment Michael. Happy that I ignored this possibility since looks the right fit. It would be good having a compilation of the possible options to declare the CSS in GWT. I have seen at least: 6 different. As a quick review: 1* normal reference in main HTML file, i.e. 2*

Re: Using events but keeping styles out of UiBinder??

2016-03-02 Thread Michael Harray
I may be misunderstanding the question, but you don't need to define the styles in the UiBinder inside a , you can just do: and they will be treated as plain text stylenames, which your imported css file will recognise On Wednesday, 2 March 2016 10:23:10 UTC+13, Adolfo Rodriguez wrote: > >

Using events but keeping styles out of UiBinder??

2016-03-01 Thread Adolfo Rodriguez
Hi, I have imported a full template. I added the HTMLs as UiBinder and referenced the js and css from the main HTML page. So far it works great. I am trying to keep the styles outside of UiBinder as most as I can to avoid a hardcoded maintenance. However, I need to handle some events on some