• 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: D2W key to return a sessions dictionary value?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W key to return a sessions dictionary value?


  • Subject: Re: D2W key to return a sessions dictionary value?
  • From: Ramsey Gurley <email@hidden>
  • Date: Fri, 13 Jan 2012 09:31:25 -0700

You might be able to do this for an inspect page, but it's not going to work on a list page.  There's no 'object' when you're creating table headers which contain displayNameForProperty.  If it's an inspect page, you could just say something like

100: entity.name = "MyEntity" and propertyKey = "rpt_quant_Value" => displayNameForProperty = "object.rptQuantDisplayName" [ERDDelayedKeyValueAssignment]

And create a rptQuantDisplayName() method on your eo.

Ramsey

On Jan 13, 2012, at 6:48 AM, James Cicenia wrote:

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

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: D2W key to return a sessions dictionary value?
      • From: James Cicenia <email@hidden>
References: 
 >D2W key to return a sessions dictionary value? (From: James Cicenia <email@hidden>)
 >Re: D2W key to return a sessions dictionary value? (From: Ramsey Gurley <email@hidden>)
 >Re: D2W key to return a sessions dictionary value? (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: WOLips issues on Jira
  • Next by Date: Re: D2W key to return a sessions dictionary value?
  • Previous by thread: Re: D2W key to return a sessions dictionary value?
  • Next by thread: Re: D2W key to return a sessions dictionary value?
  • Index(es):
    • Date
    • Thread