• 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: detail WODisplayGroup & FetchSpec
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: detail WODisplayGroup & FetchSpec


  • Subject: Re: detail WODisplayGroup & FetchSpec
  • From: Nathan Dumar <email@hidden>
  • Date: Mon, 24 May 2004 09:27:07 -0400

If I feed this array to a WORepetition ...

NSArray users = EOUtilities.objectsWithQualifierFormat(editingContext, "User", "org = %@ and userType.typeNum > 0 and userType.typeNum < 9", new NSArray(orgObject));

... how do I select one iteration to edit?

With a WODisplayGroup, I would just put a WOHyperlink around one of the strings from one of the user iterations. That link would be connected to a method with ...

userDisplayGroup.selectObject();

The edit form fields are connected to userDisplayGroup.selectedObject.<someAttribute>

How the select knew which object to pick is magic to me. But if I'm going to forego WODisplayGroups, I need to mimic this functionality (hopefully as eloquently as the quoted code). In a WORepetition that doesn't use a WODisplayGroup, how do I select one object and connect that object to an edit form's fields?

(I know, a pretty basic question ... I'm relatively new to WO.)


Thank you, Nathan _______________________________________________ webobjects-dev mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: detail WODisplayGroup & FetchSpec
      • From: Patrick Robinson <email@hidden>
References: 
 >detail WODisplayGroup & FetchSpec (From: Nathan Dumar <email@hidden>)
 >Re: detail WODisplayGroup & FetchSpec (From: Art Isbell <email@hidden>)
 >Re: detail WODisplayGroup & FetchSpec (From: Nathan Dumar <email@hidden>)

  • Prev by Date: Re: Which DB?
  • Next by Date: Re: Which DB?
  • Previous by thread: Re: detail WODisplayGroup & FetchSpec
  • Next by thread: Re: detail WODisplayGroup & FetchSpec
  • Index(es):
    • Date
    • Thread