0

I would like to display a list of information per entry in the table. For example for each user, one can have multiple cell phone numbers.

The users are listed in the and I have an for the cell numbers. I would like to loop through the list of numbers per user and list them in the column for the cell phone numbers.

I have tried to add the ui:repeat in the in the following way:

<ui:repeat value="#{user.cellNumbers}" var="cellNumber">

and the table holds the user array in the following manner:

<af:table id="t1-rapb" value="#{userBean.users}" var="user">

I expected the ui:repeat to iterate through the list of numbers per user, but instead nothing appears in that column. What am I missing in order to make this work?

Kukeltje
  • 12,223
  • 4
  • 24
  • 47
Kazi
  • 71
  • 5

0 Answers0