How to automatically set columns in a list form from a map?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to automatically set columns in a list form from a map?

Bruno Busco
Hi,
I am looking for a way to automatically populate a list form from a map.
Basically I would need something like a "auto-fields-list" tag that would
work in a similar way to auto-fields-entity and auto-fields-service but
taking fields information from the form list and not from a service or an
entity.

Does this make sense?

Thank you,
Bruno
Reply | Threaded
Open this post in threaded view
|

Re: How to automatically set columns in a list form from a map?

Jacopo Cappellato-4
On Dec 4, 2010, at 12:09 AM, Bruno Busco wrote:

> Hi,
> I am looking for a way to automatically populate a list form from a map.
> Basically I would need something like a "auto-fields-list" tag that would
> work in a similar way to auto-fields-entity and auto-fields-service but
> taking fields information from the form list and not from a service or an
> entity.
>
> Does this make sense?

It makes a lot of sense to me and it is something I also considered in the past; this could also be used to reimplement with widgets the "entity data maintenance" screens of the webtools.
Implementing this is a bit tricky because the model of a form is loaded (and cached) the first time it is used (i.e. it is assumed to be "static") while the new enhancement will make the definition dynamic.

Kind regards,

Jacopo

>
> Thank you,
> Bruno

Reply | Threaded
Open this post in threaded view
|

Re: How to automatically set columns in a list form from a map?

Bruno Busco
Thank you Jacopo for the insight.
I will put this on my list or better I will open a JIRA so that we can
remember about this.

-Bruno

2010/12/4 Jacopo Cappellato <[hidden email]>

> On Dec 4, 2010, at 12:09 AM, Bruno Busco wrote:
>
> > Hi,
> > I am looking for a way to automatically populate a list form from a map.
> > Basically I would need something like a "auto-fields-list" tag that would
> > work in a similar way to auto-fields-entity and auto-fields-service but
> > taking fields information from the form list and not from a service or an
> > entity.
> >
> > Does this make sense?
>
> It makes a lot of sense to me and it is something I also considered in the
> past; this could also be used to reimplement with widgets the "entity data
> maintenance" screens of the webtools.
> Implementing this is a bit tricky because the model of a form is loaded
> (and cached) the first time it is used (i.e. it is assumed to be "static")
> while the new enhancement will make the definition dynamic.
>
> Kind regards,
>
> Jacopo
>
> >
> > Thank you,
> > Bruno
>
>