Re: Is there a way to create rules programatically?
Re: Is there a way to create rules programatically?
- Subject: Re: Is there a way to create rules programatically?
- From: Ramsey Gurley <email@hidden>
- Date: Fri, 13 Jan 2012 14:11:38 -0700
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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
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