Hi,

*HTMLPanel panel = new HTMLPanel("");        // class attribute*
*
*
*public void function()*
*{*
* panel.clear();
*
* Element d3 = DOM.createDiv();                     
  d3.setClassName(N.NN.N().resultSearch_category_title());   
d3.setInnerHTML(name);*
* panel.getElement().appendChild(d3);
*
*}*

The issue is that *panel *will not remove the divElement...The only thing I 
am happy with is that, if I use another HTMLPanel instead of the 
divElement, so then YES, .clear() will remove it.
So this involve that I use a lot of HTMLPanel instead of DivElement and I 
am sure it costs me (the DOM or code will be heavier).

Is it possible that the clear() method REALLY remove all child elements 
(and not only others HTMLPanel) ? Which alternative I have ?

Thanks you,




-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to