I have created two different instances of the CellList, both
containing very different data, the look different. So in the
instantiation of the CellList I provide a CellList.Resource to give
the CellList some styling. For each of my two CellLists I provide
instances of two totally different CellList.Resource interfaces. The
one have a blue background the other has a red background.

The Red CellList is visible on the Red Page, and the Blue CellList on
the Blue Page. Now I visit the Red Page and the CellList there is red.
I then visit the Blue page and the other CellList is blue, but when I
go back to the Red Page (new CSS info has already been injected) the
Red CellList is now BLUE!

It is happenening because the two Resource files, although different,
have the same CSS class names (they have to because the CellList is
expecting .evenItem{}
.oddItem{}
.selectedItem{}
... but, being from two different Java classes GWT ought to obfuscated
the CSS class names differently, but this seems to not be what's
happening. Instead if I inspect the Resource instances they are indeed
different Java objects, but when I inspect the generated CSS class
names they are both the same, eg. G123456, so whether red or blue they
both have the same CSS class name, so the CellLists are totally
confused as to which colour to be. Well not totally confused, they
just display the latter injected style.

This is a stumbling block at the moment for me and I can't see reason
for it as I look into the source code for the CellList.

-- 
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.

Reply via email to