Objectgraph question
Objectgraph question
- Subject: Objectgraph question
- From: Guido Neitzer <email@hidden>
- Date: Sun, 23 Jul 2006 16:52:50 +0200
Hi.
I'm currently in the process of optimizing some stuff in one of my
apps and look for some experiences on how to manage some changes in
the object graph:
To begin with, I'm on a page where I display an object (EO), let it
be a company. This page has a list, bound to a to many relationship
of the company, e.g. staff. The list is build with a displayGroup and
an EOArrayDatasource.
In the list, you can click on one of the entries and this brings you
to a detail page of this staff member. On the staff member detail
page is a link called "delete" to delete the currently displayed
staff member. When I click on delete the staff member is actually
deleted and the page returns automatically "lastpage" which is my
company page.
Now the problem: When I do nothing else, the "staff" list still shows
my deleted object (okay, because I have my cached object with its
"staff" instance method, which returns the array of staff members).
I ever used some weird workaround to ensure fresh data in such
situations, but okay, what is the PREFERRED way of handling this?
cug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden