How do I refresh a many-to-many?
How do I refresh a many-to-many?
- Subject: How do I refresh a many-to-many?
- From: Kevin Windham <email@hidden>
- Date: Wed, 18 Apr 2007 11:49:11 -0500
I have an app with users and clubs. There is a many-to-many between
these objects. I allow one user to add another user to their club
through a page that fetches the particular user they want to add and
then calls the new users addToClubs method. This much works fine. I
can go look in my DB and see that the user has been added. However,
when I redisplay the original user's club page, the new user does not
show up. If I log out of the app and log back in, the new user shows up.
I tried adding a refreshObject call on the original user, but that
doesn't seem to help. How can I refresh the many to many on my
original user?
Thanks,
Kevin
_______________________________________________
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