Keeping the 'old' list in a persistent property of the page might help. Then on 
the "updated" view you can addidtionaly check if there were any new posts if 
you want to prevent outdated view.

Martin Strand <[EMAIL PROTECTED]> wrote: I've got form with a list of items and 
a delete button. On form submit, I  
want to check the values of some checkboxes, delete the corresponding  
items from a remote IMAP server, and then redisplay the page with the  
updated list.

However, to prevent the "stale link" phenomenon, it seems I need to get  
the old list from the IMAP server first in order for the rewind and  
setting of checkbox values to function properly. Then, the form listener  
is called, the items are deleted, I grab the updated list from the IMAP  
server and redisplay it.
Isn't there a way to skip the old list - just grab all checkbox values and  
delete the corresponding items?

--Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

Reply via email to