users@woodstock.java.net

Re: displaying news

From: <thompsonwd40_at_comcast.net>
Date: Thu, 04 Dec 2008 15:47:21 +0000

Have you looked at Woodstock's listbox, and/or comboBox controls?

 -------------- Original message ----------------------
From: Antonin Karasek <tonda_at_ceskyserver.cz>
> People help! ;-)
>
> I'm developing a JSF application and I need to do a really stupid thing.
> I need to display an array of values. In PHP it would look like this:
>
> <? foreach($newsList as $news) { ?>
> <h3><?=$news["title"]?></h3>
> <p><?=$news["text"]?></p>
> <? } ?>
>
> I'm not able to find a way, how to do this in JSF. The only element, I
> know to be able to display a list is <webuijsf:table />
>
> Any suggestions?
>
> Many thanks.
>
> Regards
> Tony
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>