Re: D2W And ERAttachment
Re: D2W And ERAttachment
- Subject: Re: D2W And ERAttachment
- From: Kevin Hinkson <email@hidden>
- Date: Mon, 15 Aug 2011 17:04:23 -0400
On 15 Aug 2011, at 17:00, David Holt wrote: Hi, I've implemented a D2W on an EOModel containing a Place EO with a flattened to-many relationship to ERAttachment (Place >> PlaceERAttachment >> ERAttachment). "Place" has several other properties so I created a new action in MenuHeader.java using EditPageInterface and the rule to enable a wizard and that works fine.
What is PlaceERAttachment?
I always model my to-many attachments so that there is an intermediate EO that has a to-one relationship to ERAttachment.
I think that is what I'm doing. I added an relationship to Place, changed it to-many and flattened it to use an intermediary EO. Apologies for the confusion
Place PlaceERAttachment (has a placeId and erAttachmentId) ERAttachment
Is that what you meant as well?
|
_______________________________________________
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