Hi,

I'm looking at the CellList demo, the AbstractCell implementation is 
generating raw html strings for a cell presentation implementation:

http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellList


  static class ContactCell extends AbstractCell<ContactInfo> {

      ... 

      @Override
      public void render(Context context, ContactInfo value, 
SafeHtmlBuilder sb) {
          sb.appendHtmlConstant("<table>");

          // Add the name and address.
          sb.appendHtmlConstant("<td style='font-size:95%;'>");
          sb.appendEscaped(value.getFullName());
          sb.appendHtmlConstant("</td></tr><tr><td>");
          sb.appendEscaped(value.getAddress());
          sb.appendHtmlConstant("</td></tr></table>");
      }
  }

is this the recommended way to go? Is there no way to use any of the panel 
classes to implement the cell presentation? I was thinking we could provide 
something like a VerticalPanel etc to stay within GWT land.

Thanks



-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/40UAvO6nD1MJ.
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