In my app I have 2 CellLists. During the construction of each I
initialise each using a DIFFERENT CellList.Resource (each having a
different CSS file).

Because both of these resource files extend CellList.Resource they
obviously both have the same CSS class names, namely:
.evenItem
.oddItem
.selectedItem
... but in each different CSS file I have given them totally different
style.

Now, strangely, although the two CellList.Resource instances are not
the same object (not == to each other) GWT manages to obfuscate both
sets of CSS class names to be identical with eachother. This causes a
serious problem.

Say one CellList is red and the other is blue. When the user loads the
first page CellList 1 is red, then the user loads the second page and
CellList 2 is blue ... ok... now the user goes back to the first page
and CellList 1 is now blue!

In CSS terms it must be something like this going on:

.G3A532{ color: red }
.G3A532{ color: blue }
... note, both the same class name obfuscation result, therefore one
style simply overrides the second.

Please tell me what I'm doing wrong, or is this a bug?

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