Hello,
I have added a new style class to a row in a CellTable. When I looked
in Firebug, the style name is being obfuscated in the generated CSS.
I have the following:
Source:
interface MyTableResources extends CellTable.Resources {
@Source({CellTable.Style.DEFAULT_CSS, "mytest.css"})
TableStyle cellTableStyle();
}
interface TableStyle extends CellTable.Style
{
public String mytest1();
}
class MyRowStyle implements RowStyles<ItemBuildDTO>
{
@Override
public String getStyleNames(ItemBuildDTO row, int rowIndex)
{
// if something...
return "mytest1";
}
}
mytest.css:
.mytest1 { font-size : 33px }
In Firebug, if I look at the HTML, the table row looks like this:
<tr class="GMHF14MCBG mytest1" onclick="">
In the CSS, I cannot find a "mytest1" class anywhere, however I did
find the font-size:33px, which looks like this:
.GMHF14MCPF {
font-size: 33px;
}
The style class is turning up as an obfuscated name. I don't
understand why this is happening. Any help is much appreciated.
Thanks.
--
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.