GWT hashed css style names not properly added -


I have a strange experience with GWT styles.

I am using UiBinder as well as some programmatic access to my GWT widget style:

  & lt; Ui: UIBender xmlns: ui = "..." xmlns: g = "..." & gt; & Lt; UI: style src = "bindings.css" /> & Lt; G: vertical panels & gt; & Lt; G: label addStyleNames = "{style.stationTitle}" UI: field = "stationName" & gt; & Lt; / G: Labels & gt; & Lt; G: FlexTable ui: field = "with routes" & gt; & Lt; / G: FlexTable & gt; & Lt; / H: VerticalPanel & gt; & Lt; / Ui: UiBinder & gt;  

As you can see that I have a flexable too, I am an example on this example to add styles in a cell in FlexTable:

 < Code> routesTable.getFlexCellFormatter (). SetStyleName (line, 1, "route");  

Result: The name style of the label station has been successfully added but the tables did not have the style of the cells. There is a problem problem in the HTML given in the browser.
Styles are compiled and given given names: The HTML element that represents the G1gm2rpjA and .G1gm2rpjB labels has the correct hash style name G1gm2rpjA, but in the cell The table has been given the original style name "route" ... what's wrong? Is this a living bug?

OK, I think I've got it, I used to code it A CSSRSOS interface to reach my style in I do not know how did I not see this link before?


Comments