I am also in a hurry so I will answer more extensively later...
just to your problem now

Rick Reumann schrieb:
> 
> Sort off-topic but what do you use in JSF to create a display of List
> data from a  managedBean? I believe I was told to use DataTable and
> that's what I used in my lesson, but I thought that was rather limiting.
> Maybe I want to create a bunch of divs and don't want to be using
> t:column. Is there a Component equivalent of a simple forEach loop that
> works well with managedBean list content?
> 
Actually there are various ways:
Datatable is a viable approach,
but MyFaces also has a generic datalist, which does the c:foreach (which
is rather forbidden in JSF 1.1, in jsf 1.2 it should work again)

within the datalist you can place any component you like, even verbatims.

I used a combined approach of datatable and datalist with sergeijs
jsf:html tags for my last application (the datalist for a table with
dynamic colspans)

One big advantage of the datatable is, that you can get paging out of
the box via datascroller components, so it is very powerful, but the
main limit is, that you are somewhat limited with the layout (dynamic
colspan is not really that easy to achieve, css per row or column is easy)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to