Hi Theodore, Do you set a client when you first create the object? Otherwise "object.client.currentClients" will probably resolve to null. In most cases I put the method returning the possible choices on the object itself.
Fabian Am 12.02.2013 um 14:17 schrieb Theodore Petrosky: > I thought I finally had a grip on restrictedChoiceKey and the full path to > through the object.relation.propertyKey. > > I have this rule: > > 102 : (pageConfiguration like 'Create*' and propertyKey = 'client') => > restrictedChoiceKey = "object.client.currentClients" > [com.webobjects.directtoweb.Assignment] > > I started with: > > 102 : propertyKey = 'client' => restrictedChoiceKey = > "object.client.currentClients" [com.webobjects.directtoweb.Assignment] > > figuring that any time I wanted to display the list of clientNames, I only > wanted the current clients. > > it works in a ERMODInspectPage. When I show the D2W attributes and roll over > the question mark by Client, restrictedChoiceKey is listed as > object.client.currentClients. and that's what is showing in the popup. > > however on the Create* pages, rolling over the question mark, it shows that > restrictedChoiceKey is bound, however it does not fire the method to get the > currentClients. the create* page is a ERMODWizardCreationPage and I don't > understand why I don't get the proper list. > > Am I missing something special about ERMODWizardCreationPage? > > 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/lists.fabian%40e-lumo.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]
