You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by legolas <le...@gmail.com> on 2007/01/15 20:31:50 UTC
how to create loop in jsf pages over an array?
Hi
Thank you for reading my post.
I have a jsf page which i need to have a loop inside it.
the loop will iterate an array
the array contains some user object and this loop will make it possible to
show those users.
i set the user array as a property of my session bean.
should i use c:forEach ? if so, does it works in jsf?
Thanks
--
View this message in context: http://www.nabble.com/how-to-create-loop-in-jsf-pages-over-an-array--tf3016736.html#a8377722
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: how to create loop in jsf pages over an array?
Posted by Andrew Robinson <an...@gmail.com>.
Options:
1) ui:repeat from facelets
2) t:dataList from tomahawk
3) c:forEach with facelets (not at all recommended)
On 1/15/07, legolas <le...@gmail.com> wrote:
>
> Hi
> Thank you for reading my post.
> I have a jsf page which i need to have a loop inside it.
> the loop will iterate an array
> the array contains some user object and this loop will make it possible to
> show those users.
> i set the user array as a property of my session bean.
> should i use c:forEach ? if so, does it works in jsf?
>
>
> Thanks
> --
> View this message in context: http://www.nabble.com/how-to-create-loop-in-jsf-pages-over-an-array--tf3016736.html#a8377722
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>