File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Dynamically adding rows to thet JSF datatable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Dynamically adding rows to thet JSF datatable" Watch "Dynamically adding rows to thet JSF datatable" New topic
Author

Dynamically adding rows to thet JSF datatable

selvakumar Thiyagarajan
Greenhorn

Joined: Oct 06, 2008
Posts: 28
Hi all,
I am new to JSF. I have a data table in my screen and some fields below the table. I can enter values in the fields and on click of Save button, the values in those fields should be added as a new row to the table. Please advice on this. Thanks in advance!!!
karthikeyan Chockalingam
Ranch Hand

Joined: Sep 06, 2003
Posts: 259
You can do it either using ajax submit and rerender the dataTable or submit the whole page and display the page again.


http://www.skillassert.com


 
 
subject: Dynamically adding rows to thet JSF datatable