OMG, I think my head just exploded a little bit...
OOWWW!
D
--
David LeBer
Codeferous Software
On 2012-01-13, at 4:11 PM, Ramsey Gurley wrote:
> There's the D2WOgnlAssignment in ERD2W, but I've never used it.
>
> On Jan 13, 2012, at 1:52 PM, James Cicenia wrote:
>
>> My displayPropertyKeys are fine.
>>
>> I am just trying to get back a string for a key for displayNameForProperty.
>>
>> Is there some oogln syntax or such like session.myDictionary{key} ?
>>
>> James
>>
>>
>> On Jan 13, 2012, at 2:45 PM, Ramsey Gurley wrote:
>>
>>> Are we trying to set the displayPropertyKeys array or are still trying to
>>> set the displayNameForProperty?
>>>
>>> On Jan 13, 2012, at 12:35 PM, James Cicenia wrote:
>>>
>>>> Yes I wrote a property level component to return the looked up value.
>>>> Works great.
>>>>
>>>> I was then thinking I could create a dictionary of this key with the value
>>>> being the display name and have the session hold this dictionary.
>>>>
>>>> i.e., rptHdrDict
>>>>
>>>>
>>>> James
>>>>
>>>>
>>>>
>>>> On Jan 13, 2012, at 12:28 PM, Ramsey Gurley wrote:
>>>>
>>>>>
>>>>> On Jan 13, 2012, at 10:42 AM, James Cicenia wrote:
>>>>>
>>>>>> I have an administration screen where a company enters quantitative
>>>>>> metrics that will be assigned to projects.
>>>>>>
>>>>>> They want a report where they can choose which metric to report on.
>>>>>> Maybe just two metrics, maybe all and they want them in separate columns.
>>>>>>
>>>>>> This coincides with my normal report maker where they just pick from the
>>>>>> eo keys.
>>>>>>
>>>>>> So, there won't be a conflict.
>>>>>>
>>>>>> Metric A
>>>>>> Metric B
>>>>>> Metric C
>>>>>>
>>>>>> So, in order to do this I created
>>>>>>
>>>>>> metricAmountFromKey component.
>>>>>>
>>>>>> This would parse the key, and then return the proper value.
>>>>>
>>>>> So this is a D2W property level component that takes an object and a
>>>>> property key and displays a value?
>>>>>
>>>>>>
>>>>>>
>>>>>> The problem comes up when I try to set the columns. First I thought a
>>>>>> current report header dictionary in session could do it,
>>>>>> but then I couldn't find out how to get the session.reptHdrDict. ?? for
>>>>>> the current key.
>>>>>>
>>>>>> James
>>>>>
>>>>> I don't follow. What does the reptHdrDict hold? What are the keys/values?
>>>>>
>>>>> Ramsey
>>>>
>>>
>>
>> _______________________________________________
>> 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/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:
> http://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]