title: GWT Style Not Working in AbstractCell
body: <p>I'm attempting to create a custom cell renderer for my GWT CellTable.  I'm attempting to set a CSS style inside of the cell, but it's not rendering for some reason.</p>
  
  <p>Here's my custom cell renderer</p>
  
  <pre><code>static class MyStringCell extends AbstractCell&lt;String&gt; implements Cell&lt;String&gt; {
  
      interface UncheckedStringTemplate extends SafeHtmlTemplates {
          @SafeHtmlTemplates.Template("&lt;div style=\"{0}\"&gt;&lt;input type=\"checkbox\"/&gt;{1}&lt;/div&gt;")
          SafeHtml cell(SafeStyles styles, SafeHtml vendorName);
      }
      private static UncheckedStringTemplate uncheckedStringTemplate = GWT.create(UncheckedStringTemplate.class);
  
      @Override
      public void render(com.google.gwt.cell.client.Cell.Context context, String value, SafeHtmlBuilder sb) {
          if (value == null) {
              return;
          }
  
          SafeHtml vendorName = SafeHtmlUtils.fromString(value);
          SafeStyles styles = SafeStylesUtils.fromTrustedString("noaccess;");                                             
          SafeHtml rendered = uncheckedStringTemplate.cell(styles, vendorName);   
          sb.append(rendered);
  
      }
  }        
  </code></pre>
  
  <p>And here's where I'm calling the renderer</p>
  
  <pre><code>Column&lt;MyObject, String&gt; userNameSelectedColumn = new Column&lt;MyObject, String&gt;(new MyStringCell()) {
      @Override
      public String getValue(MyObject myObject) {
          return myObject.getName();
      }
  };      
  vendorPermissions.addColumn(userNameSelectedColumn, "Objects w/ checkboxes");
  </code></pre>
  
  <p>This code produces this HTML fragment (notice the empty style)</p>
  
  <pre><code>&lt;div style=""&gt;&lt;input type="checkbox"&gt;Vendor 1&lt;/div&gt;
  </code></pre>
  
  <p>All this closely follows <a href="http://code.google.com/webtoolkit/doc/latest/DevGuideUiCustomCells.html" rel="nofollow">the GWT example for Creating Custom Cells</a> and I haven't been able to figure out where this is going wrong - or if it's a bug.</p>
  
  <p>I have, however, used the GWT debugger to examine the rendered String and it does seem to have the style information in it at that point - so it's getting removed at some point further down the GWT pipeline and before it gets to my browser.</p>
  
  <p>Any ideas?</p>