Monday, July 4, 2011

Questions about complex UI events in MVP mode

Now I'm using MVP and one question about complex UI. I've a flowpanel
and will add or remove some child widgets(say button or listbox).
Because child widgets are dynamically created so I've to capture the
event at their parent that is the flowpanel value, once triggered the
system will be able to decide which child is the source of the event.
But the flowpanel hasn't implemented hasclickhandlers nor
hasselectionahandlers, then how can I implement it with presenter and
view?
I know there is some nested presenter but I would prefer not to go
that way.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment