PDA

View Full Version : Just wondering - themes loading and resource locations



uded
4 Aug 2009, 10:41 PM
Just wondering...

Been playing a lot today with one of my apps written, end to end, in GWT + GXT combo. Working great, but...
I tried to optimize loading time using wide range of techniques. On of which was moving most of the resources to VHost. It's working great and one can minimize server load by moving static content (CSS, JS, images, etc.) to lighttpd instance. But it's kind of hard to do when using GXT theme loader. Grey theme, Slate - they all have the resource URL hardcoded in the class. Yes, I can implement my own and I did, but it's bad idea to hard code such a resource URL in the class.

What I would like to see is a property (no matter where I can set it up) which will tell GXT where the static resources are. In this way I'd be able to use external server or my own folders schema for that.

Well, just a thought...