This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Iterating elements of array in backing bean  RSS feed

Frank Truong
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am learning JSF.
In front end, I am trying to show the selected elements from the SelectManyListbox using a looping tag such as c:iterate but it never works for me.
If I have

It prints 'Test' once although I have selected multiple elements from SelectManyListbox.

If I do

It prints all elements I have selected.

I am apparently not looping it correctly.

Does anybody know any codes or pointers that would help me tackle this roadblock for my learning curve?

Thank you very much.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!