0

In my project I use the Model-View-Presenter and want to create a UI-Element where I can register a HandlerManager to handle client-side events.

How can I do something like this? Or does it not conform to MVP?

Jason482
  • 197
  • 1
  • 10
destiny
  • 1,802
  • 3
  • 16
  • 18
  • I don't know if I understand your question correctly. But for adding custom handler to UI elements refer to this stackoverflow [thread](http://stackoverflow.com/questions/6537458/gwt-widget-addhandler). – Ümit Dec 15 '11 at 14:16

1 Answers1

0

Well, if you are using the UiBinder paradigm, you can specify a UiHandler, using the @UiHandler annotation on your method (see here).

If you have more details on exactly what you're trying to do, then I can probably provide other solutions as well.

Jason482
  • 197
  • 1
  • 10