Re: How to receive in a service a variable list of fields from a form (and iterate on it)?

2008-11-02 Thread Bruno Busco
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 a

Re: How to receive in a service a variable list of fields from a form (and iterate on it)?

2008-11-02 Thread David E Jones
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 thro

Re: How to receive in a service a variable list of fields from a form (and iterate on it)?

2008-11-02 Thread Bruno Busco
Thank you, BJ ;-) May be this is a very basic thing but it is blocking me. - Bruno 2008/11/2 BJ Freeman <[EMAIL PROTECTED]> > apologize was focusing on the flow and how to list. > once a wake up I can give you a better one for you. > services are generally passed maps, in the context. > > > Br

Re: How to receive in a service a variable list of fields from a form (and iterate on it)?

2008-11-02 Thread BJ Freeman
apologize was focusing on the flow and how to list. once a wake up I can give you a better one for you. services are generally passed maps, in the context. Bruno Busco sent the following on 11/2/2008 7:50 AM: > Hi BJ, > thank you for your help. > I apologize not sure to have well understood. >

Re: How to receive in a service a variable list of fields from a form (and iterate on it)?

2008-11-02 Thread Bruno Busco
Hi BJ, thank you for your help. I apologize not sure to have well understood. In the example you give, all fields are taken from the form's default-entity. 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. Th

Re: How to receive in a service a variable list of fields from a form (and iterate on it)?

2008-11-02 Thread BJ Freeman
in ofbiz forms are fixed, like most you see in widgets and ftls. you have a entity and/or context that stores the info, like in maps. you then use the widget/ftl form to display the data in the entity or context. the ItemsToShow would be a map. you would then iterate the map. you can see many examp

How to receive in a service a variable list of fields from a form (and iterate on it)?

2008-11-02 Thread Bruno Busco
Hi devs, I need your help. I am trying to complete the Portal/Portlet stuff adding the possibility to set some attributes specific to a Portlet instance. The idea is that when a portlet is defined, a form is defined also and linked in the PortalPortlet entity with something similar to this: