Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamically adding rows to thet JSF datatable

 
selvakumar Thiyagarajan
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do it either using ajax submit and rerender the dataTable or submit the whole page and display the page again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic