Well, I don't think I did anything particularly clever but I got what I wanted.
I just created a rule that said if pageConfiguration like "EditToMany*" the task is edit. Another rule that says the subtask is pick. Then I created rule that said if task = 'edit' and subtask = 'pick' the repetitionComponentName is a D2W component that I created that subclass ERDAttributeRepetition. Then there are some app level rules that pass in the relationship key and the entity name of the destination. I use those keys to get the list of objects and to add/remove them from the relationship. I'm really learning to love D2W. It's amazing how much code I've removed from my app already. Best, Johnny On Mar 11, 2013, at 2:57 PM, Johnny Miller <[email protected]> wrote: > Hello everyone, > > I'm trying to get my head around the ERXD2WPick. I'm assuming this is the > component for displaying a list of objects that will be assigned to a to-many > relationship. > > Is there a good example of displaying the list of potential candidates with a > checkbox? I want the ability to select/deselect many objects in one save. > > Thanks in advance, > > Johnny > > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
