Refreshing a Page
Refreshing a Page
- Subject: Refreshing a Page
- From: "Jonathan Fleming" <email@hidden>
- Date: Thu, 23 Jan 2003 19:45:33 +0000
Hi Guys,
I have an NSMutableArray Array of objects which have a delete link in the
list, however, when i delete the object it remains in the list even after a
save to the database. When i look at the database (openBase) the object has
been deleted. It's only when I click on the object that I had originally
deleted that it disappears or if I use the refresh button on the browser.
So, it seems that my answer to this problem would be to refresh the page
progmatically, however, I have tried to use both a refresh and refetch
method (below) to no avail:
refetch() - Method in class com.webobjects.eocontrol.EOEditingContext
Sends editingContextWillSaveChanges messages to the this EOEditingContext's
editors, and invokes the invalidateAllObjects method.
refresh() - Method in class com.webobjects.woextensions.WOLongResponsePage
Does anyone know how to refresh a page progmatically, I'd be really pleased
to know how this works or how it is done.
Many thanks
Jonathan
_________________________________________________________________
Stay in touch with MSN Messenger http://messenger.msn.co.uk
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.