I believe that what's others have done, yes. This topic has been discussed
here before, so you could probably find something useful by searching the
Group history.


On Fri, Jul 16, 2010 at 2:32 PM, Akshay Kumar <[email protected]>wrote:

> Thanks,
> So going back to my use case, it would be better to extend the DialogBox,
> right? (to have a titlebar with buttons with event handlers)
> -akshay
>
> On 16 July 2010 22:13, Isaac Truett <[email protected]> wrote:
>
>> 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]<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]<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.

Reply via email to