• Post Reply Bookmark Topic Watch Topic
  • New Topic

Iterating elements of array in backing bean

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

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.

Frank
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!