Hello all,
i have a
JSF datatable and few fields below the table. Also i have a [Save] button with backing bean.My requirement is i should enter the values in those fields and on click of Save, the values should be stored in DB and the Datatable should be updated. Without the Onclick event, datas are stored in Database. if i include the script i am not even able to save the data.
Can any one suggest an idea to update the Datatable as well Data Base(Back end) on click of Save button? Thanks in advance,.
Sample code: