Thanks, I've done it as follows (added new abstract class ImageColumn,
don't know if it's the right way):
   table.addColumn(new ImageColumn<TireBrandProxy>() {

      Renderer<java.lang.String> renderer = new
AbstractRenderer<java.lang.String>() {
         public String render(java.lang.String obj) {
           return obj == null ? "" : String.valueOf(obj);
         }
      };

      @Override
      public String getValue(TireBrandProxy object) {
         return renderer.render(object.getBrandPictureUrl());
      }
   }, "image");

   public abstract class ImageColumn<T> extends Column<T, String> {
        public ImageColumn() {
                super(new ImageCell());
        }
   }

On 11 мар, 17:57, Thomas Broyer <[email protected]> wrote:
> Why don't you use an ImageCell? in that case, just return the image URL from
> your Column's getValue

-- 
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.

Reply via email to