This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamically adding rows to thet JSF datatable
 
Similar Threads
return as xml document
AJAX and select nightmares...
Using NULL's with EJB
visual jsf is about to kill me
data base connectivity from JSF