Is it possible to have a dynamic number of forms in a JSF page? I would like to have a forEach tag in my page that iterates over a list of objects that contain a list if items to display in a multiselect table and some UI components that will get updated based on the rows that get selected.

I have seen other postings that seem to indicate that UI components cannot be inside a forEach tag and use the variable from the var attribute.

Is there any way to do this?

Ex.

Plan A
==============================
|    |  Name  |  Association |
-----+--------+---------------
| [] |   aaa  |     XYZ      |
-----+--------+---------------
| [] |   bbb  |     BBB      |
-----+--------+---------------
| [] |   ccc  |     CCC      |
-------------------------------------------------

SelectOneChoice

Checkbox

SelectOneChoice


Plan B
==============================
|    |  Name  |  Association |
-----+--------+---------------
| [] |   aaa  |     XYZ      |
-----+--------+---------------
| [] |   bbb  |     BBB      |
-----+--------+---------------
| [] |   ccc  |     CCC      |
-------------------------------------------------


SelectOneChoice

Checkbox

SelectOneChoice


...... possibly more Plans...


APPLY         CANCEL




Thanks,

Richard


Reply via email to