Anyway.. i'm trying to figure out something and am a bit stuck, thought "the crowd" might have some ideas.
piece of code:
GQuery td = $("<td colspan='x'/>");
ThingyBarUIB thingyBar = new ThingyBarUIB();
thingyBar.loadData(someObject);
td.append(thingyBar.getElement());
addClickHandlerToBar(someObject, thingyBar);
Now.. I easily add click handlers via the method/gwtquery all is well.
I'd really like, just to be.. I dunno.. "closer to GWT".. to be able to use @UiHandler on the UIBinder backed via class ThingyBarUIB.
I realize this 'fails' the second I do thingyBar.getElement().
Any known techniques to get around this i.e. use UiHandler? reAttach()?
Thanks!
Roger
No comments:
Post a Comment