ublic void onClick(ClickEventevent){
> > parent.doSomething();
> > }
>
> > });
>
> > no need to do any sink/unsink mucking about.
>
> > -jason
>
> > On Apr 4, 2009, at 8:51 PM, matttai wrote:
>
> > > As per the title :)
>
would look something like:
> >
> > myWidget.addClickHandler(new ClickHandler(){
> >public void onClick(ClickEvent event){
> > parent.doSomething();
> >}
> >
> > });
> >
> > no need to do any sink/unsink mucking about.
> >
> > -jason
> >
&
gt;
> -jason
>
> On Apr 4, 2009, at 8:51 PM, matttai wrote:
>
>
>
>
>
> > As per the title :)
>
> > How to get internal widget to notify its parent widget when clicked
> > (and have the parent execute something)?
>
> > I think it has something to
about.
-jason
On Apr 4, 2009, at 8:51 PM, matttai wrote:
>
> As per the title :)
>
> How to get internal widget to notify its parent widget when clicked
> (and have the parent execute something)?
>
> I think it has something to do with sinking and unsinking events but I
> hav
ChangeListener and
SourcesChangeEvents interfaces for example, of if 1.6.x you should use
maybe HasValueChangeHandlers and ValueChangeHandler.
regards
gregor
On Apr 5, 3:51 am, matttai wrote:
> As per the title :)
>
> How to get internal widget to notify its parent widget when clicked
> (
As per the title :)
How to get internal widget to notify its parent widget when clicked
(and have the parent execute something)?
I think it has something to do with sinking and unsinking events but I
haven't been able to find a very good example of doing this.
Any help would be apprec