Francois Wauquier
unread,Jun 26, 2009, 4:29:44 AM6/26/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gwt-mvc
Hello
Why dont use a list as the value of the event?
with the simple use of Arrays.asList(Object... )
controller.call(new Event<List,MyAction>(MyAction.DO,Arrays.asList
(o1,o2)));
If you have different objects that you want to pass in the event,
maybe you can create an object that contains the different objects,
and maybe use a form instead of a simple view (because a view giving
many values is maybe a form).
Try to find an object/concept that fit to this aggregation.
It is a choice to have only one value per event, to avoid to pass too
much thing in an event.
--
François Wauquier