Re: Limit WORepetition Sourced From Relationship
Re: Limit WORepetition Sourced From Relationship
- Subject: Re: Limit WORepetition Sourced From Relationship
- From: Kaj Hejer <email@hidden>
- Date: Sun, 29 Aug 2004 20:13:00 +0200
At 10:59 -0700 29-08-04, Hunter Hillegas wrote:
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?
Hi!
One way of doing this is to ccreate a method which returns a NSArray
in the class for the entity or the component and bind this method to
the the list of the WORepetition. This method reads the objects for
the entity relationship and just returns the number you want.
-Kaj :)
_______________________________________________
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.