so I go to bed and of course can't sleep thinking of this crap and it dawns on me:
object.client.clientName duh sorry for the answering my own question again. Ted --- On Mon, 2/11/13, Theodore Petrosky <[email protected]> wrote: > From: Theodore Petrosky <[email protected]> > Subject: restrictedChoiceKey to return currentClients ?? > To: "WebObjects Development" <[email protected]> > Date: Monday, February 11, 2013, 10:58 PM > 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/tedpet5%40yahoo.com > > This email sent to [email protected] > _______________________________________________ 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]
