• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is there a way to create rules programatically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Is there a way to create rules programatically?
      • From: James Cicenia <email@hidden>
    • Re: Is there a way to create rules programatically?
      • From: David LeBer <email@hidden>
References: 
 >Is there a way to create rules programatically? (From: James Cicenia <email@hidden>)
 >Re: Is there a way to create rules programatically? (From: Ramsey Gurley <email@hidden>)
 >Re: Is there a way to create rules programatically? (From: James Cicenia <email@hidden>)
 >Re: Is there a way to create rules programatically? (From: Ramsey Gurley <email@hidden>)
 >Re: Is there a way to create rules programatically? (From: Ramsey Gurley <email@hidden>)
 >Re: Is there a way to create rules programatically? (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Is there a way to create rules programatically?
  • Next by Date: Re: Is there a way to create rules programatically?
  • Previous by thread: Re: Is there a way to create rules programatically?
  • Next by thread: Re: Is there a way to create rules programatically?
  • Index(es):
    • Date
    • Thread