Wow, now that is powerful stuff.
This rule:
100 : (pageConfiguration = 'QueryEmbeddedDocument' and entity.name =
'Document') => queryDataSourceDelegate =
"ca.company.delegates.SpecificDocumentsQueryDataSourceDelegate"
[er.directtoweb.ERDDelayedObjectCreationAssignment]
plus modifying your example qualifierFromSender method to:
private EOQualifier qualifierFromSender(ERD2WQueryPage sender) {
Category cat = Category.cat();
EOQualifier q = Document.CATEGORY.eq(cat).and(sender.qualifier());
return q;
}
Gives me the behaviour I need.
Thanks for the heads up (again) Ramsey.
d
On 2010-10-20, at 1:29 PM, Ramsey Gurley wrote:
>
> On Oct 20, 2010, at 2:46 PM, David Holt wrote:
>
>> Hi all,
>>
>> I have a relationship on my edit page that shows "Search" and "New" buttons.
>> The "Search" button, returns all related items, but I need it to be
>> qualified by the logged in user (i.e. not show everyone's items). How do I
>> do that?
>>
>> David
>
> ERDQueryDataSourceDelegateInterface?
>
> http://wiki.objectstyle.org/confluence/display/WO/D2W+Flow+Control
>
> Ramsey
>
>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]