• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
restrictedChoiceKey to return currentClients ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: restrictedChoiceKey to return currentClients ??
      • From: Theodore Petrosky <email@hidden>
  • Prev by Date: Re: Validation .. I found a good page
  • Next by Date: Re: restrictedChoiceKey to return currentClients ??
  • Previous by thread: Re:
  • Next by thread: Re: restrictedChoiceKey to return currentClients ??
  • Index(es):
    • Date
    • Thread