Saturday, January 22, 2011

Re: How to implement render method in Cell which inherits AbstractCell (GWT)?



On Saturday, January 22, 2011 1:58:52 PM UTC+1, Edvinas Bartkus wrote:
looks like my IDE has helped me to solve this.
I had to implement:

        @Override
        public void render(Context context, Contact value, SafeHtmlBuilder sb) {
            Window.alert("Called 2");
            sb.appendEscaped(value.name);
        }

Context is a public static subclass of Cell. Is this a changed applied
only since GWT 2.1.1?


Yes, this is a breaking change between 2.1.0 and 2.1.1.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate