I have been experimenting with programmatically disabling items in a DynamicForm. When I set any TextItem fields to disabled in Internet Explorer 7, a small red cross appears over the item. It appears that it is looking for the file \sc\skins\standard\images\blank.gif.

I have tried creating the required directories (standard and images) and copying the Enterprise blank.gif to the above location within my compiled webapp’s directory structure. That’s a work-around for the problem.

We use RootPanel.get().add() to add things to the page. The stuff we have in our Host HTML is just for while the application is loading. We hide it once have loaded and are adding things to the RootPanel.

When I posted the example, we were using GWT 1.6.4. I have tried the suggested change of setting isomorphicDir before loading SmartClient in our GWT 1.6.4 branch. This did not resolve the problem, and in fact made things worse, as none of the SmartGWT images then appeared in my application.

While I was away, we upgraded to GWT 1.7.0. As part of this process we restructured our host HTML file. That included setting the isomorphic dir before the script line that points to the nocache.js file. We get the same behaviour as originally reported – images are found for most SmartGWT elements, but not the \sc\skins\standard\images\blank.gif. I don’t know why it is looking in skins\standard when we are using the Enterprise skin.

If setting isomorphicDir caused all the images to disappear in the older version, that just means the setting was wrong.

The problem with "blank.gif" indicates that some application code is calling image-related methods before load_skin.js has been loaded (load_skin.js is what actually sets the skin to Enterprise). However we have no been able to actually reproduce this yet. If you look at Firebug as your application loads, do you in fact see application code files arriving before load_skin.js?