Re: Pb updating a to-many relationship with refaultAllObjects()
Re: Pb updating a to-many relationship with refaultAllObjects()
- Subject: Re: Pb updating a to-many relationship with refaultAllObjects()
- From: Chuck Hill <email@hidden>
- Date: Sat, 15 Nov 2003 10:24:05 -0800
I've written a bit on this topic here:
http://wodev.spearway.com/cgi-bin/WebObjects/WODev.woa/wa/Main?wikiPage=Refr
eshingToManyRelationships
Chuck
At 11:02 PM 14/11/2003 +0100, Jean Pierre Malrieu wrote:
>Hi,
>
>I have a component displaying the items of a to-many relationship in a
>repetition. Therefore I am not fetching the items. WO does it for me.
>Because the items in the to-many can be changed by another application,
>I have added a "Refresh" button to my component. This button is bound
>to an action that calls ec.refaultAllObjects() and returns the current
>page.
>
>But if an item has been added to the to-many relationship by another
>application, calling refaultAllObjects() does not update the list of
>items in my component.
>Is it normal behaviour?
>What is the solution?
>
>Thanks.
>
>Jean Pierre.
>_______________________________________________
>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.
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
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.