Hi Guys
Have a very elementary problem in my initial learning in
JSF.
I intend to have a table on my form to capture rows of data and to bind them with corresponding
Java variables.
The challenge I face is being able to add rows of fields to my table dynamically, as in:
If I am to capture data about a customer and his family the form might look like:
Name Age Ph No Relationship
Andrew Greene 47 09402934234 Self
Marie Greene 45 23234923800 Wife
Jake Greene 17 23948209840 Son
Now if I wish to add another member of the family on the form, I would probably have an add button that would generate another row of input fields in a row:
Anna Greene 16 23482304800 Daughter
I am wondering how it might be possible for me to keep adding rows for each member of the family on the form dynamically, without having to submit the form?
Would appreciate any help.
P.S.: Please pardon the elementary nature of my question, as I am yet at a very stage of exploring these topics.
It would be very helpful to know if there is a live chat option available (here or any other forum) to be able to interact with others from whom I can learn.