Re: stumbling around with D2W
Re: stumbling around with D2W
- Subject: Re: stumbling around with D2W
- From: Ramsey Gurley <email@hidden>
- Date: Thu, 15 Dec 2011 08:28:58 -0700
Hi Ted,
componentName = ERD2WEditToOneRelationship
restrictedChoiceKey = object.currentTitles
Then create a method on your object returning an array of current employment titles like you have below.
Ramsey
On Dec 15, 2011, at 8:03 AM, Theodore Petrosky wrote:
> OK so this is a real newbie thing.
>
> In my Wonder app, I would:
>
> create a list of entries to populate a popup
>
> employmentTitleList = EmploymentTitle.fetchEmploymentTitles(newEmployeeEC, EmploymentTitle.IS_CURRENT.eq(true), EmploymentTitle.ORDERING_INT.ascs());
>
> I don't understand how to do this in an Edit page in D2W.
>
> Is there anything like this in an example?
>
> 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
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