Wednesday, June 6, 2012

Re: convert dom element to widget

Some widget classes have static wrap() methods to convert existing elements to widgets which may be of use - see for example the Label class or Button class.

On Wednesday, 6 June 2012 11:46:08 UTC+1, Dennis Haupt wrote:
i am trying to write a function which generically collections dom elements and adds them to complexpanels. i can get the dom elements, but how do i add them to panels? panels need widgets. is there a way to convert them?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/cC7y6ulFef8J.
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.

No comments:

Post a Comment