Hello Joan,

It would be great if you could provide a (working) code sample of what you are 
trying to do, or even a test which shows the problem. I admit I find it a bit 
hard to understand what exactly you are trying to accomplish from your 
description.

Thanks,
-fotos

On Jul 26, 2011, at 19:23 , [email protected] wrote:

> I'm wrapping an element in a new widget which adds new functionalities
> to the element, and I'm using the function
> HTMLPanel.addAndReplaceElement(widget, element) to replace the element
> by the widget but now the new check in lines 196/197/198/199 are
> avoiding that.
> Thanks,
> Joan Ribalta
> 
> 196     // Early exit if the element to replace and the replacement are
> the same.
> 197     if (toReplace == widget.getElement()) {
> 198       return;
> 199     }
> 
> http://gwt-code-reviews.appspot.com/1467807/

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to