Re: [Newbie] Display new objects in a WODisplayGroup
Re: [Newbie] Display new objects in a WODisplayGroup
- Subject: Re: [Newbie] Display new objects in a WODisplayGroup
- From: George Domurot <email@hidden>
- Date: Fri, 28 Mar 2003 13:33:35 -0500
You may want to look into using the insert method of WODisplayGroup.
Or, you could create a new array with your previous set of objects, add
the new one to it and then re-set the object array of the display
group. Afterwards, you may also want to call the
updateDisplayedObjects() method to reapply any sort orderings.
On Friday, March 28, 2003, at 09:54 AM, Pascal Robert wrote:
On Jeudi, mars 27, 2003, at 15:42 US/Eastern, Art Isbell wrote:
On Thursday, March 27, 2003, at 05:55 AM, Pascal Robert wrote:
what's the best way to 'see' new objects in a WODisplayGroup ?
Many of us don't use display groups at all. They're not really
necessary.
However, WODisplayGroup does offer one nice feature - object
batching. If you have more objects than you can easily display on a
page, a display group can batch them so that you can display a subset
of the objects on each page. But if you're not using this feature,
you really don't need a WODisplayGroup.
I do need the WODisplayGroup in this case, but even with a NSArray in
my WORepetition condition, the problem would still be there. So do I
really have to redo a fetch to get the new object to display in my
WORepetition ?
_______________________________________________
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.
_______________________________________________
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.