• 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: to-many display ?? in d2w
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: to-many display ?? in d2w


  • Subject: Re: to-many display ?? in d2w
  • From: Theodore Petrosky <email@hidden>
  • Date: Mon, 08 Jul 2013 15:10:47 -0400

So now I understand that ERD2WDisplayList is the wrong choice. I am a little slow.

So I tried this:

150 : pageConfiguration like 'List*Project' => displayPropertyKeys = ("projectDescription", "projectSteps", "timing") [com.webobjects.directtoweb.Assignment]
150 : (pageConfiguration like 'List*Project' and propertyKey = 'projectSteps') => componentName = "ERD2WDisplayToManyUnorderedList" [com.webobjects.directtoweb.Assignment]
150 : (pageConfiguration like 'List*Project' and propertyKey = 'projectSteps') => keyWhenRelationship = "stepDescription" [com.webobjects.directtoweb.Assignment]

I can get an unordered list as my to-many but,  this give me only one propertyKey from the relationship.

so now I am into this one:

ERD2WDisplayToManyCustom

I need to pass in the to-many projectSteps and present the appropriate keys.

I guess I am hoping someone will see where I am stepping on myself.

Ted


On Jul 8, 2013, at 1:42 PM, Theodore Petrosky <email@hidden> wrote:

> so in my d2w app, I have an entity  'project' <=>> projectSteps
> projectStep has stepDescription, stepStatus, stepDueDate
>
> I want to display the ListProject with:
>
> projectDescription , projectSteps.stepDescription, projectSteps.stepStatus
>
> I want to see:
>
> my project Description      step1     status1
>                                              step2     status2
>                                              step3     status3
>
>
> of course projectSteps.stepDescription is an array of strings as is projectSteps.stepStatus
>
> so I thought that I would read the wonder docs and find a component that should fit. I found:
>
> ERD2WDisplayList
>
> "Used to display a an NSArray of the form "A, B and C", useful for toMany relationships or propertyKeys that return arrays."
>
> well my propertyKey  "projectSteps.stepDescription" returns an array of strings.
>
> but I guess I don't get how to wire this thing in. could someone point me in the right direction.
>
> Ted
> _______________________________________________
> 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: to-many display ?? in d2w
      • From: Mark Wardle <email@hidden>
    • Re: to-many display ?? in d2w
      • From: David Holt <email@hidden>
References: 
 >to-many display ?? in d2w (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: timezone for web users?
  • Next by Date: Re: Instances limit per host?
  • Previous by thread: to-many display ?? in d2w
  • Next by thread: Re: to-many display ?? in d2w
  • Index(es):
    • Date
    • Thread