You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by kareda <kk...@digiplace.ch> on 2009/02/24 11:11:22 UTC
JSF - display a collection in one line?
Hi,
A collection of Strings, I just want to display them in one line.
Is that possible?
--
View this message in context: http://www.nabble.com/JSF---display-a-collection-in-one-line--tp22179299p22179299.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: JSF - display a collection in one line?
Posted by Ingmar Lötzsch <il...@asci-systemhaus.de>.
kareda schrieb:
>
> Hi,
> A collection of Strings, I just want to display them in one line.
> Is that possible?
What about using StaticText/Label/OutputText ... and Collection.toString()?
RE: JSF - display a collection in one line?
Posted by kareda <kk...@digiplace.ch>.
thanks for helpful replies, dataList works good.
--K
Zummy wrote:
>
>
> Can you use Google Collection's Join?
>
> http://google-collections.googlecode.com/svn/trunk/javadoc/com/google/common
> /base/Join.html
>
> John
> -----Original Message-----
> From: kareda [mailto:kk@digiplace.ch]
> Sent: Tuesday, February 24, 2009 2:11 AM
> To: users@myfaces.apache.org
> Subject: JSF - display a collection in one line?
>
>
>
> Hi,
> A collection of Strings, I just want to display them in one line.
> Is that possible?
>
>
> --
> View this message in context: http:// www.
> nabble.com/JSF---display-a-collection-in-one-line--tp22179299p22179299.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>
>
>
--
View this message in context: http://www.nabble.com/JSF---display-a-collection-in-one-line--tp22179299p22314429.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
RE: JSF - display a collection in one line?
Posted by John Carlson <ca...@llnl.gov>.
Can you use Google Collection's Join?
http://google-collections.googlecode.com/svn/trunk/javadoc/com/google/common
/base/Join.html
John
-----Original Message-----
From: kareda [mailto:kk@digiplace.ch]
Sent: Tuesday, February 24, 2009 2:11 AM
To: users@myfaces.apache.org
Subject: JSF - display a collection in one line?
Hi,
A collection of Strings, I just want to display them in one line.
Is that possible?
--
View this message in context: http:// www.
nabble.com/JSF---display-a-collection-in-one-line--tp22179299p22179299.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
RE: JSF - display a collection in one line?
Posted by Ma...@sanofi-aventis.com.
Sure, the tomahawk dataList component does just that.
Check out the docs here.
http://myfaces.apache.org/tomahawk-project/tomahawk12/tagdoc/t_dataList.html
use layout="simple" to display them on one line.
-----Original Message-----
From: kareda [mailto:kk@digiplace.ch]
Sent: mardi 24 février 2009 11:11
To: users@myfaces.apache.org
Subject: JSF - display a collection in one line?
Hi,
A collection of Strings, I just want to display them in one line.
Is that possible?
--
View this message in context: http://www.nabble.com/JSF---display-a-collection-in-one-line--tp22179299p22179299.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: JSF - display a collection in one line?
Posted by Cagatay Civici <ca...@gmail.com>.
ui repeat, datalist or a similar thing would help too.
On Feb 24, 2009, at 2:25 PM, Mert Çalışkan wrote:
> I did that with a converter while ago,
>
> http://www.jroller.com/mert/entry/collectiontocommaseperatedtextconverter
>
> Mert
>
> On Tue, Feb 24, 2009 at 12:11 PM, kareda <kk...@digiplace.ch> wrote:
>
>
> Hi,
> A collection of Strings, I just want to display them in one line.
> Is that possible?
>
>
> --
> View this message in context: http://www.nabble.com/JSF---display-a-collection-in-one-line--tp22179299p22179299.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>
Re: JSF - display a collection in one line?
Posted by Mert Çalışkan <mc...@gmail.com>.
I did that with a converter while ago,
http://www.jroller.com/mert/entry/collectiontocommaseperatedtextconverter
Mert
On Tue, Feb 24, 2009 at 12:11 PM, kareda <kk...@digiplace.ch> wrote:
>
>
> Hi,
> A collection of Strings, I just want to display them in one line.
> Is that possible?
>
>
> --
> View this message in context:
> http://www.nabble.com/JSF---display-a-collection-in-one-line--tp22179299p22179299.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>