myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: dataTable> problem.
Date Tue, 22 Aug 2006 05:34:07 GMT

This is one of the issues I'm trying to handle internally.

We had two browser sessions opened and update the tables and perform
delete actions.
What we found was that the selection of objects to delete by one user
actually deletes the elements added by another user. And this was
because we work on the row Index and as well, the dataTable makes calls
to the getter of the model before doing any further operation which
updates the new model with the latest value.

I'm worried concurrent user support might have to be handled by the
application developer (and I thought life would be simpler ;-) ). I have
put this issue on the back burner for a while now, will update you once
I test it.


-----Original Message-----
From: Mr Arvind Pandey []
Sent: Monday, August 21, 2006 2:49 PM
Subject: <t:dataTable> problem.


     I am using <t:dataTable> to display customer info. Each row
contains delete button also to delete the info a particular customer.
preserveDataModel attribute of the datatable is set to false. Everything
working properly when i am going straight.
      Now suppose I have 10 rows in the table and I delete the first row
, the first row gets deleted from table and database also. But when I go
back to previous page using back button of Browser and try to delete the
first row again which has been deleted already, then it deletes the next
immediate row , I mean second row.

      If anyone can help me, I will be highly obliged.
Any suggestion will be appreciated.

Thanks and regards...
Arvind Pandey

Yahoo! India Answers: Share what you know. Learn something new

The information contained in this electronic message and any attachments to this message are
intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and destroy all copies
of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email
and any attachments for the presence of viruses. The company accepts no liability for any
damage caused by any virus transmitted by this email.

View raw message