>From the provided examples by GWT team I try to implement Cell widgets.

private static class Info {
    public String info;
    public Info(String info) { this.info = info; }
    public String getInfo() { return this.info; }
}

private static class InfoCell extends AbstractCell<Info> {
    public void render(Info info, Object key, SafeHtmlBuilder sb) {
        sb.appendEscaped(info.getInfo());
    }
}

new CellList<Info>(new InfoCell());

This code doesn't work:

ERROR: Line 7: The type InfoCell must implement the inherited abstract
method AbstractCell<Info>.render(Cell.Context, Info, SafeHtmlBuilder).
Has anyone managed to implement it? What is Cell.Context? AbstractCell
source code doesn't even include such render declaration.

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