Re: detail WODisplayGroup & FetchSpec
Re: detail WODisplayGroup & FetchSpec
- Subject: Re: detail WODisplayGroup & FetchSpec
- From: Nathan Dumar <email@hidden>
- Date: Mon, 24 May 2004 09:27:07 -0400
If I feed this array to a WORepetition ...
NSArray users = EOUtilities.objectsWithQualifierFormat(editingContext,
"User", "org = %@ and userType.typeNum > 0 and userType.typeNum < 9",
new NSArray(orgObject));
... how do I select one iteration to edit?
With a WODisplayGroup, I would just put a WOHyperlink around one of the
strings from one of the user iterations. That link would be connected
to a method with ...
userDisplayGroup.selectObject();
The edit form fields are connected to
userDisplayGroup.selectedObject.<someAttribute>
How the select knew which object to pick is magic to me. But if I'm
going to forego WODisplayGroups, I need to mimic this functionality
(hopefully as eloquently as the quoted code). In a WORepetition that
doesn't use a WODisplayGroup, how do I select one object and connect
that object to an edit form's fields?
(I know, a pretty basic question ... I'm relatively new to WO.)
Thank you,
Nathan
_______________________________________________
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.