Many thanks David, I will try to go through the event making map solution. -Bruno
2008/11/2 David E Jones <[EMAIL PROTECTED]> > > On Nov 2, 2008, at 9:50 AM, Bruno Busco wrote: > > I am looking for a way to put fields in a form widget that are not defined >> as fields of an entity and neither as parameters of a serivice. >> The service the form widget targets to should receive the fields in a map >> and being able to iterate through these. >> > > To do this you would have to write a custom event using Java or > simple-method or a scripting language, have it build the Map to pass to the > service, and then call the service. > > The main constraint is that HTTP only takes a flat map of parameters > (name/value pairs, all Strings). The ServiceEventHandler will map types, but > there is no way to tell it to put certain field into a Map that would be > passed to the service as a field (if that's what you're looking for). They > all go into a Map, but that Map is the context of the service itself, or all > fields in that Map will be put into the context at the very least. > > -David > > >
