myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Yee <r...@cruzio.com>
Subject Dynamic forms with JSF
Date Mon, 03 Sep 2007 01:53:44 GMT
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



Mime
View raw message