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?


— K.R.H.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to