HI, > Is there any way I can access enclosing "this" > instance (that would be PageToolbar)?
Pass it in, and call your method. It works for me. patch(this); //method call class PageToolbar extends PagingToolbar { private native void patch(PageToolbar pt) /*-{ /class of whatever gets passed in var pagingToolbar = p...@com.gwtext.client.widgets.component::getOrCreateJsObj()(); pagingToolbar.field.on("keydown", function(e) { alert("1"); p...@mypackage.pagetoolbar::mymethod()(); alert("2"); }, pagingToolbar); }-*/; private void mymethod() { ... } } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---