>
> but I still have a lot of click handlers, blur handlers, etc.  i don't
> suppose there is any way around that aside from something dean
> mentioned which is to return something like a map, but then you have
> to create a structured key (like enum), and it just makes coding
> against it more of a pain, i think...so i'll live with the multiple
> HasHandlers interface methods.
>

what am I doing is to have hight levels handlers. Suppose you have 4 buttons
(new, edit, delete and quit) then your Widget interface will have one
handler exposed for the buttons.
When the user clicks over the button one event with the information of which
button was pressed and some other information you need will arrive to the
presenter.

I'm new using MVP, opinions are welcome.

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