Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF list  RSS feed

 
Zdenek Obst
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

this is gonna be stupid question, but I can't find JSF tag, which generates simple (un)ordered list.
Eg.

<ul>
<li>someValue1</li>
<li>someValue2</li>
<li>someValue3</li>
</ul>

I get for example List<String> from some ap. logic and I want to put it on the page dynamically using lists. Solution could be dataTable with one column, but dont want this. I hope there is some basic solution. And of course, JSF is called pure MVC, so I dont want to use JSTL (c:foreach) tags in my page, if not necessary.

Thanks for all answers
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry. Datatable it is, unless you cheat and fall back to basic HTML.

RichFaces has a list element type, but not core JSF.
 
Zdenek Obst
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Tim, I thought it, but seemed weird to me:-)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!