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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]