Re: How to use the final, non deprecated method of HTMLPanel?

2011-04-07 Thread opn
Oh my fault again then ;) Thanks a lot for the hint! I'm wondering how i could look into the methods 100 times without recognizing that! On Apr 7, 4:05 pm, Jens wrote: > A bit confusing but the deprecated method uses > com.google.gwt.user.client.Element whereas the one you want to use requires >

Re: How to use the final, non deprecated method of HTMLPanel?

2011-04-07 Thread Jens
A bit confusing but the deprecated method uses com.google.gwt.user.client.Element whereas the one you want to use requires com.google.gwt.dom.client.Element. So just make sure you use the correct Element type. J. -- You received this message because you are subscribed to the Google Groups "G

How to use the final, non deprecated method of HTMLPanel?

2011-04-07 Thread opn
Hello, I am using the method "addAndReplaceElement(Widgetd widget, Element toReplace)" from HTMLPanel. ( http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/gwt/user/client/ui/HTMLPanel.html ) There is one none final method with that signature which is deprecated and on final one t