Akshay, Yes, there are limitations. The HTML for a Button would not include registered event handlers, for example. You generally don't want to create widgets, reduce them to HTML, and then try to insert that HTML into another Widget.
-- Isaac On Fri, Jul 16, 2010 at 12:28 PM, Akshay Kumar <[email protected]>wrote: > Hi, > I kind of understand what setWidget does. > However take an example - DialogBox Caption does not have any > setWdget method ( if I wish to add some buttons on the DialogBox > Caption). However it does provide setHTML method. > So, if I create a button ( in a panel or something) and extract the > HTML and set it for DialogBox Caption, will I get same effect as I > would have, had there been a setWidget method, or will it be with some > limitations and will need special handling? > -akshay > > -- > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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.
