Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Update a single row of a dataTable using AJAX + JSF

843844Apr 27 2007 — edited Apr 30 2007
Hi 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 28 2007
Added on Apr 27 2007
8 comments
350 views