Have you tried just setting the text in the constructor of the HTML
widget or HTML Panel?

String customHtml = "<div>My Custom HTML...</div>";
HTML myDiv = new HTML(customHtml);

That should do the job unless your content is changing.  It's
typically very fast.   What kind of markup is in your html?



On Mar 10, 2:10 pm, wera <[email protected]> wrote:
> Hi all,
>
> I have an HTML div that should be moved to GWT component efficiently.
> What do you recommend?
>
> Before I was doing it by setting innerHTML in gwt HTML() component
> (http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/
> src/com/google/gwt/user/client/ui/HTML.java?r=3173)
>
> But it took too long to do it.
>
> thanks
--~--~---------~--~----~------------~-------~--~----~
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