aspose file tools
The moose likes JSF and the fly likes fields not getting updated. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "fields not getting updated." Watch "fields not getting updated." New topic
Author

fields not getting updated.

Higgledy Smith
Ranch Hand

Joined: Mar 07, 2006
Posts: 192
How do you insure the fields get refreshed after a Listener event fires in the backing bean? For instance, in the code below is a data table with a row selecter. When the user selects a row, the handleRowSelection method in the backing bean fires. This method sets the selected row's values to a variable named selectedUser. In the same view, the variable, selectedUser, is tied to a series of inputtext fields grouped to be a form. This form contains additional fields about the selectedUser. This works. But when the user goes back to the original table and selects a different row, the form does not update correctly (especially the multi checkbox component). Why?

Data Table:


Form:
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: fields not getting updated.
 
Similar Threads
To Refresh the Dynamic data to the JSF Page automatically
Problem with JSF
Icefaces AUTO SORT TABLE example
HOW TO REFRESH THE FULL PAGE USING JSF ICE FACES AND TO GET THE UPDATED RECORDS INTO PAGE
how to get id of many many list within ace:dialog and c:foreach