• 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: Owns destination implies mandatory?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Owns destination implies mandatory?


  • Subject: Re: Owns destination implies mandatory?
  • From: Ramsey Lee Gurley <email@hidden>
  • Date: Wed, 11 Nov 2009 19:28:14 -0500

Hi Ricardo,

I think Anjo's reply was in regards to postponed validation, not your issue with ERDEditOwnedRelationship.  I'm honestly not sure why you're getting validation errors with that component, because I've never actually used it.  Try searching the list, I've heard David LeBer mention it a time or two.

That said, have you tried an edit fault component instead?

http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/com/webobjects/directtoweb/D2WEditToOneFault.html

That will take you to an edit relationship page where I can attest that mandatory relationships for newly created EOs works just fine.

As for making the owns relationship mandatory vs. optional, there was some discussion regarding this back in March.  You might find the discussion interesting.

http://www.mail-archive.com/email@hidden/msg27230.html

Ramsey


On Nov 11, 2009, at 5:37 PM, Riccardo De Menna wrote:

> Hi,
>
> Does the "owns destination" concept imply that the relationship is also "mandatory" for the owned object?
> If yes, is it enforced somehow if I don't turn on the mandatory flag in the model?
>
> I'm asking since I'm having issues with ERDEditOwnedRelationship (I posted a message on the wonder list for that but didn't find someone to discuss it)...
>
> I have something like the following:
>
> Person >> Membership << Club
>
> A person HAS to have at least one membership to a club. I'd go with:
>
> Person owns membership
> Club owns membership
> Person.memberships is mandatory
> Membership.person is mandatory
>
> But this is conflicting with ERDEditOwnedRelationship that wants to postpone relationship linking to the NextDelegate phase. This clashes with validation.
> So my question is... if I drop the two mandatory concepts does the ownership still imply they are needed and will anyone enforce it?
>
> rdm
>
>
> _______________________________________________
> 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

  • Follow-Ups:
    • Re: Owns destination implies mandatory?
      • From: Ramsey Lee Gurley <email@hidden>
References: 
 >Postponed validation possible? (From: Riccardo De Menna <email@hidden>)
 >Re: Postponed validation possible? (From: Lachlan Deck <email@hidden>)
 >Re: Postponed validation possible? (From: Anjo Krank <email@hidden>)
 >Re: Postponed validation possible? (From: Lachlan Deck <email@hidden>)
 >Re: Postponed validation possible? (From: Anjo Krank <email@hidden>)
 >Re: Postponed validation possible? (From: Lachlan Deck <email@hidden>)
 >Owns destination implies mandatory? (From: Riccardo De Menna <email@hidden>)

  • Prev by Date: Re: Postponed validation possible?
  • Next by Date: Re: Owns destination implies mandatory?
  • Previous by thread: Owns destination implies mandatory?
  • Next by thread: Re: Owns destination implies mandatory?
  • Index(es):
    • Date
    • Thread