Catalin,
Please make sure:
- that your dataTable is nested within a form
- that your delete button does *not* have the immediate attribute set (necessary to get the checkboxes updated)


Manfred


Catalin Kormos schrieb:
Hi,

I have a x:dataTable that displays rows over multiple
pages...the scenario is pretty simple, i think, a
table with many rows, the user can select one or more
rows by selecting a coresponding checkbox on the firs
column, and hit a "delete" button, or link to remove
those rows from the table. The value, selection, of
the check box is bound to a boolean property of the
row's bean, that has getter and setter.

The first time the user selects some checkboxes (rows)
and hits "delete", everything works fine, the rows are
removed, page reloaded...; then, the user does nothing
else, just selects some rows again, then hits
"delete"... nothing happens!, because the backing bean
is not informed about the new selections.


The problem disapears if after the first delete
action, the user uses the dataScroller to navigate to
a another page, or does a page reload by hand...

Maybe has do to with the following things : i use
client side state saving, the x:dataScroller,
preserveModel is false for me, i use the x:saveState
to save the table data list displayed between
requests....

Any ideeas would be appreciated, i realy think this is
a bug in myfaces, i saw some other threads about
dataTable updating children components, could be the
same problem?


Thanks



__________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250



Reply via email to