data list should be your friend. With layout=simple there are no HTML tags added, only the contents of the list. It has index and max count properties as well that make it easy to work with.
On 6/21/06, ::SammyRulez:: <[EMAIL PROTECTED]> wrote:
using facelets you can use also c:foreach but I think that you can do everithing also with t:datatable 2006/6/21, Bruno Aranda <[EMAIL PROTECTED]>: > Hi, have you tried the t:dataList [1] component in tomahawk? I guess > it does what you need... > > Regards, > > Bruno > > [1] http://myfaces.apache.org/tomahawk/dataList.html > > On 6/21/06, Anders W. Tell <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I want to create list of commandButtons based on a collection of > > ActionObjects. so I want to loop over my collection of this. > > But I cant seem to find looping constructs in JSF except from the DataTable. > > > > Does <c:forEach> work or how do I mix it with Java constructs in a JSP file > > > > thanks for any hints > > /anders > > > > > > > -- ::SammyRulez:: http://www.kyub.com/blojsom/ Un hacker รจ una "persona che si impegna nell'affrontare sfide intellettuali per aggirare o superare creativamente le limitazioni che gli vengono imposte, non limitatamente ai suoi ambiti d'interesse, ma in tutti gli aspetti della sua vita"