Update a single row of a dataTable using AJAX + JSF
843844Apr 27 2007 — edited Apr 30 2007Hi all,
I want to update a single row of a dataTable using AJAX. When the user enter a employee id and tabs out of the text field, i need to populate all the other columns in that row.
I could do it partly by using a regular Servlet and javascript. But, each row has 2 drop-downs that need to be populated based on the employee id.
How to populate the drop-downs using a regular servlet. The response is XML, so do i have to convert the list of SelectItem[] into individual tags? how do we actually update the dropdown on the browser using javascript?
I looked at Ajax4JSF, but looks like it doesn't have built-in support to do the above.
is there any framework that can give this functionality.
Any help would be greatly appreciated.
Thank you.