the datatable will call getUserList() a second time when the new response is rendered. It is the user who has to return the right list/datemodel on the second time without the deleted entries in the list.
2005/10/31, Yee CN <[EMAIL PROTECTED]>: > > > > Hi, > > > > I am facing the following problem, and I hope someone can show me how to > achieve this in JSF. > > > > Scenario – A jsf page with a <t:dataTable> of users. One column is a delete > button, which deletes a row, and navigate back to the same page. > > > > Problem: When the delete button is pressed, the order of execution seems to > be the following: > > - The page does a postback > > - The backing bean is constructed > > - Restoring view: <t:dataTable> invoke getUserList() and populates > the table > > - Applicaton action: deleteUserAction() is invoked > > > > The result is that the data table is showing the deleted user! > > > > As a point of reference, in ASP.NET the binding to data table is done > explicitly in code so the programmer can decide the timing of binding the > data table. How do I achieve the same in jsf? > > > > Thanks in advance > > > > Yee > > -- Mathias

