Re: GWT ui:style how big of a bad idea (or not) is it to use it?

2012-08-09 Thread Nuno Godinho de Matos
Thank you all for your replies, And In general I tend to agree that you should not promote tight coupling between your app functionality and the presentation styles. On the other hand, Ryan Shillington, JQuery is javascript, but as you know most Great Jscript libraries jave wrappers for GWT.

Re: GWT ui:style how big of a bad idea (or not) is it to use it?

2012-08-09 Thread Joseph Lust
you have a list of row and each of these rows has a cless ODD or EVEN. Say that you want to hide away all ODD rows. Why would it be best to have your GWT code traverse every single row in the set an based on your index % 2 decide weather or not collapse it, than have a CSS selector in

Re: GWT ui:style how big of a bad idea (or not) is it to use it?

2012-08-08 Thread Ryan Shillington
I don't use JQuery, and I can't see a reason why you would. JQuery is Javascript, which brings you back into the world of not having your code compiled until you (or worse your user) executes it. If you really want to use JQuery for something, you can always us the @external flag. Then it

GWT ui:style how big of a bad idea (or not) is it to use it?

2012-08-04 Thread Nuno Godinho de Matos
Hi, I am wondering how big a mistake is it to take advantage of the ui:style feature in ui binder interfaces? Say your styles are all comprised within ui:style tags, and you always refer to them using the {style.} notation. Now, on the browser, this shall all become obfuscated after

Re: GWT ui:style how big of a bad idea (or not) is it to use it?

2012-08-04 Thread Joseph Lust
To start with CSSResource is awesome and I highly recommend using it. It forces you to program *better*. Should you really be trying to pull elements out of the page depending on their CSS names? Seems like a bad day if you ever want to rebrand or dress up your UI. If CSS is the graphical