How to display list items in the form.

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

How to display list items in the form.

Suprit Udawat
Hello,

I was working on my project and I have a code like this in my groovy file:
List = []
something.each{ some ->
List1 = [];
iterate.each { it ->
map= [:];
map.something = something;
map.something = something;
list1.add(map);
}
List.add(List1);
}
context.list = List;

Now I want to display list in my form and I don't know how to do this. I
searched in OOTB but I don't get any example. Can anybody tell me how to do
this?
Reply | Threaded
Open this post in threaded view
|

Re: How to display list items in the form.

Ravindra Mandre-2
Hi,
If you search for form type="list" or multi you will get  a number of
example's for displaying list in form.




Regards
Ravindra Mandre

On Fri, Mar 4, 2011 at 1:48 PM, Suprit Udawat <[hidden email]> wrote:

> Hello,
>
> I was working on my project and I have a code like this in my groovy file:
> List = []
> something.each{ some ->
> List1 = [];
> iterate.each { it ->
> map= [:];
> map.something = something;
> map.something = something;
> list1.add(map);
> }
> List.add(List1);
> }
> context.list = List;
>
> Now I want to display list in my form and I don't know how to do this. I
> searched in OOTB but I don't get any example. Can anybody tell me how to do
> this?
>