File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Add a new row dynamically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Add a new row dynamically" Watch "Add a new row dynamically" New topic

Add a new row dynamically

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303
I have a requirement like the following:

I have a jsf table with four columns. The first two columns have date fields, the three and fourth are checkboxes.

On the click of a button, I want to dynamically add a new row. I also want the ability to delete this row.

Wht would be the best way to do this? Any code snippets would help!

SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
I agree. Here's the link:
subject: Add a new row dynamically
It's not a secret anymore!