Re: Limit WORepetition Sourced From Relationship
Re: Limit WORepetition Sourced From Relationship
- Subject: Re: Limit WORepetition Sourced From Relationship
- From: Trae Nickelson <email@hidden>
- Date: Sun, 29 Aug 2004 17:25:12 -0500
Hunter,
You might try using a WODisplayGroup and its built-in batching
capabilities. You can use the setObjectArray() method to have the
Display Group use your entity's relationship array.
[ looks like this -->
myDisplayGroup.setObjectArray(myEntity.myRelatedEntitys()) ]
They have their limitations and add some overhead, but in general
Display Groups can be real time savers - once you get to know and love
them.
Trae Nickelson
I am a little reluctant to ask this question as it seems like it must
have been covered before. I tried a mailing list search and a look at
WOCode but didn't find what I was looking for...
Anyway, I have a WORepetition that gets its data from a entity
relationship. I want to limit the number of related objects displayed.
Is there an easy way to do this?
Thanks,
Hunter
--__--__--
_______________________________________________
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.