You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Ondrej Svetlik <on...@svetlik.info> on 2006/06/22 17:16:26 UTC

Organizing dataList to multiple columns/rows

Hello all,

I'm displaying values using dataList, but I'd like to display them as a 
grid.

simple layout does this:

value1 value2 value3 value4

unorderedList layout does this:

* value1
* value2
* value3
* value4

I want this:

value1 value2
value3 value4

Putting panelGrid around dataList doesn't work, of course. Is there a 
way to this? May be there's a component that allows this.

Thanks in advance,

best regards

Ondrej Svetlik

Re: Organizing dataList to multiple columns/rows

Posted by Rumiana Todorova <ro...@hotmail.com>.
Try t:newspaperTable :

http://myfaces.apache.org/tomahawk/newspaperTable.html

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


Re: Organizing dataList to multiple columns/rows

Posted by Gregg Bolinger <gd...@gmail.com>.
How about just using a dataTable with a columns="2" attribute?

Gregg

On 6/22/06, Ondrej Svetlik <on...@svetlik.info> wrote:
>
> Hello all,
>
> I'm displaying values using dataList, but I'd like to display them as a
> grid.
>
> simple layout does this:
>
> value1 value2 value3 value4
>
> unorderedList layout does this:
>
> * value1
> * value2
> * value3
> * value4
>
> I want this:
>
> value1 value2
> value3 value4
>
> Putting panelGrid around dataList doesn't work, of course. Is there a
> way to this? May be there's a component that allows this.
>
> Thanks in advance,
>
> best regards
>
> Ondrej Svetlik
>

Re: Organizing dataList to multiple columns/rows

Posted by Ondrej Svetlik <on...@svetlik.info>.
Rumiana Todorova wrote:
> Try t:newspaperTable:
> 
> http://myfaces.apache.org/tomahawk/newspaperTable.html
> 
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search! 
> http://search.msn.com/

Thanks a lot Rumiana and Gregg, I mixed your advices and used
<t:dataTable newspaperColumns="2">
...
</t:dataTable>

Best regards

Ondrej Svetlik

RE: Organizing dataList to multiple columns/rows

Posted by Rumiana Todorova <ro...@hotmail.com>.
Try t:newspaperTable:

http://myfaces.apache.org/tomahawk/newspaperTable.html

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/