I actually wonder why one would want to include style in the gwt code. Didn't we want separation of concerns, and keep style and code as much separated as possible? In that case, I would think a separate stylesheet is in most cases the best answer, so a person with a designer role will be able to style the gwt app as he/she likes, without need to recompile in-code styles.
Am I old-fashioned? :-) Erwin On 23 nov, 08:55, Danial <[email protected]> wrote: > As my attempt to make CSS easier to be used in my GWT project I came > up with using java annotations for css styles. > Please check out this project:http://code.google.com/p/gwt-style-annotation/ > > It is much cleaner than a big .css file or cluttering your code with > getElement().getStyle()... > All the annotations will be parsed and added to a .css file at compile > time transparently. > > Let me know what your think. > > Thanks, > > Danial -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
