Re: to-many display ?? in d2w
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