• 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: James Cicenia <email@hidden>
  • Date: Fri, 13 Jan 2012 11:42:23 -0600

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.


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



On Jan 13, 2012, at 11:34 AM, Ramsey Gurley wrote:


On Jan 13, 2012, at 10:20 AM, James Cicenia wrote:

Ok, is it possible to dynamically load up a rule set?

If that is possible I could create the a rule for each dynamic key.

Thanks
James


I don't understand exactly what you want to do.  It sounds like you want a list

Cars

Make, Model, Colors
Ford, Mustang, Red/Yellow/White

And you want to inspect the object to change the column name

Make, Model, 3 Colors
Ford, Mustang, Red/Yellow/White

So what do you plan to do when there's a conflict?

Make, Model, ??
Ford, Mustang, Red/Yellow/White
Chevy, Volt, Black/White

Ramsey

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Is there a way to create rules programatically?
      • From: Ramsey Gurley <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>)

  • Prev by Date: Re: Is there a way to create rules programatically?
  • Next by Date: Re: WOLips issues on Jira
  • 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