What I am trying to accomplish is to set the displayNameForProperty based upon 
a dynamic calculation of the key.

I am using fake keys like "rpt_quant_Value". These are created dynamically 
based upon values in a to-many relationship.
This way a user can report on the value in its report by selecting it as a 
column. I then parse the part after rpt_quant_ to give
me my lookup to return the value in the column. This is all working pretty well.

Now I just need to figure out how to set the displayNameForProperty based upon 
some dynamic calculation.

Thanks
James


On Jan 12, 2012, at 9:14 PM, Ramsey Gurley wrote:

> session.objectStore.user.isAdmin
> 
> Careful though.  Don't terminate your session or object keypaths on an EO.  
> If you just want to check for the existence of an EO, then you can do
> 
> session.objectStore.user.isNonNull
> 
> Ramsey
> 
> On Jan 12, 2012, at 11:04 AM, James Cicenia wrote:
> 
>> Hello 
>> 
>> How can I make up a rule to return a session dictionary's value based upon 
>> the key?
>> 
>> Thanks
>> James
>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.com
>> 
>> This email sent to [email protected]
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to