One approach is to write and apply your stylenames in an object- oriented way. The idea is to use multiple classes per element, each adding on a bit more style definition (kind of like super/subclass relationships in Java). If you define these styles in a location- independent way (this style is applied to this widget on this page --> location dependence), they should be extensible and reusable throughout your app.
Nicole Sullivan of Yahoo! has a framework in the works over at GitHub: http://wiki.github.com/stubbornella/oocss. For a good overview of the ideas behind OOCSS, watch the video posted on that page. Having not implemented OOCSS myself, I can only say it looks great in theory. I'm going to wait for the GWT team's stab at improving CSS authoring before I rewrite all my code :P. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
