I have an existing widget (Composite) that I would like to display in
a column of a Cell Table.

My approach is to create an extension of AbstractCell with the
following render method:

public void render(Cell.Context context, Widget value, SafeHtmlBuilder
sb) {
  String html = value.getElement().getInnerHTML()
  SafeHtml safeValue =  SafeHtmlUtils.fromTrustedString(html);
  sb.append(safeValue);
}

I am confused as to what I would use for the Column to add to the
CellTable, however.

Any help on how this might work, either with the approach I'm trying,
or a completely different approach, would be appreciated.  Thanks!

Ryan

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to