don't know if this will work, but have you tried

<g:tab ui:field='myTab1'>

then in your java code

@UiField
UIObject myTab1

@UiHandler("myTab1")
public void onSpellCast(ClickEvent event){
   ... do stuff
}



On Mar 20, 11:30 am, spacejunkie <[email protected]> wrote:
> Hi,
>
> I'm using UIBinder to define tabbed layout. Each tab and its header is
> also defined in the XML. The <g:tab> element holds a custom composite
> for each tab.
>
> I want to lazily populate the composite - held by a tab - with data
> when the tab is selected. For this I want to add event handler for tab
> change.
>
> Since I do not have reference to TabPanelLayout how can I add event
> handlers? Is there a work around?
>
> Regards,
> Priyank

-- 
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