Re: Question about restrictedChoiceKey
Re: Question about restrictedChoiceKey
- Subject: Re: Question about restrictedChoiceKey
- From: Farrukh Ijaz <email@hidden>
- Date: Mon, 17 Oct 2011 21:47:06 +0300
Hi Ramsey,
The issue has been solved. The reason to hessitate using 'session.keyName' was my understanding to implement a getter for keyName inside Session class. But this has been solved using 'session.objectStore.keyName'.
Thanks,
Farrukh
On 2011-10-17, at 6:34 PM, Ramsey Gurley wrote:
>
> On Oct 17, 2011, at 3:02 AM, Farrukh Ijaz wrote:
>
>> Hi,
>>
>> I've a situation. I've three entities:
>>
>> Country
>> CountryGroup
>> Customer
>>
>> The Customer has toOne relationship with Country and Country has toMany relationship with CountryGroup. The customer doesn't know about CountryGroup at all. In the Customer query page, I want to present the user list of CountryGroup for which following rules:
>>
>> LHS: (propertyKey = 'toCountry.toCountryGroups' and task = 'query') RHS: componentName = 'ERD2WQueryToManyRelationship'
>> LHS: (propertyKey = 'toCountry.toCountryGroups' and task = 'query') RHS: restrictedChoiceKey = 'object.availableCountryGroups'
>>
>> The availableCountryGroups() returns NSArray<CountryGroup> and is defined in Customer class.
>
> How is the current user tied to a particular customer object that you want to use for restricted choices?
>
> Ramsey
_______________________________________________
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