restrictedChoiceKey to return currentClients ??
restrictedChoiceKey to return currentClients ??
- Subject: restrictedChoiceKey to return currentClients ??
- From: Theodore Petrosky <email@hidden>
- Date: Mon, 11 Feb 2013 19:58:39 -0800 (PST)
I have a method in my Client object:
public NSArray<Client> currentClients() {
NSLog.out.appendln(" *currentClients ");
return Client.fetchClients(editingContext(), Client.IS_ACTIVE.eq(true), Client.CLIENT_NAME.ascs());
}
and of course there are attributes isActive, and clientName.
I want my Client popup to show a list of active clients. So I have:
100 : (propertyType = 'r' and relationship.destinationEntity.name = 'Client') => keyWhenRelationship = "clientName" [com.webobjects.directtoweb.Assignment]
100 : ((pageConfiguration like 'Edit*' or pageConfiguration like 'Create*') and (propertyKey = 'client' or propertyKey = 'briefLogo')) => componentName = "ERD2WEditToOneRelationship" [com.webobjects.directtoweb.Assignment]
so far so good, my popup displays the clientName of entity Client.
102 : propertyKey = 'clientName' => restrictedChoiceKey = "object.currentClients" [com.webobjects.directtoweb.Assignment]
obviously there is something wrong with the LHS as currentClients() is never fired.
What am I leaving out?
Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden