There's no object on a query page :-)

On Feb 12, 2013, at 11:04 AM, Theodore Petrosky wrote:

> anyone have an idea why the restrictedChoiceKey and 
> ERD2WQueryToOneRelationship don't play well together?
> 
> --- On Tue, 2/12/13, Theodore Petrosky <[email protected]> wrote:
> 
>> From: Theodore Petrosky <[email protected]>
>> Subject: Re: ERMODInspectPage and ERMODWizardCreationPage differences?
>> To: "WebObjects Development" <[email protected]>
>> Date: Tuesday, February 12, 2013, 9:54 AM
>> 
>> of course the popup on the edit page is a:
>> 
>> ERD2WEditToOneRelationship component
>> and on the query page:
>> ERD2WQueryToOneRelationship component
>> 
>> both of these components have bindings for
>> restrictedChoiceKey but I can not get it working on the
>> latter.
>> 
>> Ted
>> 
>> 
>> --- On Tue, 2/12/13, Theodore Petrosky <[email protected]>
>> wrote:
>> 
>>> From: Theodore Petrosky <[email protected]>
>>> Subject: ERMODInspectPage and ERMODWizardCreationPage
>> differences?
>>> To: "WebObjects Development" <[email protected]>
>>> Date: Tuesday, February 12, 2013, 9:17 AM
>>> 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/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/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/rgurley%40smarthealth.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]

Reply via email to