Dear Sirs et Madames,
I wish to create a
JSF page which collects a number of details (e.g first, middle and last name, gender, age, location) from an initially unknown number of members of a household (household has a one-to-many-relationship with members, but we dont know how many members there will be). Therefore I would like to be able to have a row of components which will capture these attributes' values for a single member and at the end of the row I should have 2 buttons, one to SUBMIT or the other to ADD ANOTHER MEMBER. If the ADD ANOTHER MEMBER button is clicked, then this should result in a new row of exactly the same fields that captured the previous members information, and so on until there are no more users to add and the data entrant clicks on submit.
How does one go about achieving this result?
Thanks in advance