• 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: Creating a Detail Interface for the To-Many Relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a Detail Interface for the To-Many Relationship


  • Subject: Re: Creating a Detail Interface for the To-Many Relationship
  • From: Kevin Windham <email@hidden>
  • Date: Thu, 15 Feb 2007 16:50:49 -0600


On Feb 15, 2007, at 4:20 PM, Bruce Smith wrote:

Just out of curiousity, in /** @TypeInfo Talent */ is Talent the name of the entity or the name of the table? 

I think those typeinfo comments represent the Java object type which is taken from the mappings in the model file. So I think that would be the name of the entity not necessarily the name of the table in the DB.



I attempted to do what you described, but I can't seem to figure out how to...
To get the rolesDisplayGroup to do it's thing you would set it's master object using the hyperlink action from the talent name.

You need to set the master object to the talent object that is represented by the name in the talent list. That would mean adding some extra code in the action that is bound to the link associated with the talent's name. There is a method called setMasterObject you can use. This method also causes a fetch if the Fetches on load box is checked. 

So probably something like

roleDisplayGroup.setMasterObject(aTalent);

would be added to the action bound to the WOHyperlink.

So aTalent is the variable you are using for the item binding in the talent list WORepition, and roleDisplayGroup is the master detail display group.

Again I have no idea if this will work since I haven't tested it, but I think my theory is sound. :-)

Kevin
 _______________________________________________
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

References: 
 >Creating a Detail Interface for the To-Many Relationship (From: Bruce Smith <email@hidden>)
 >Re: Creating a Detail Interface for the To-Many Relationship (From: Kevin Windham <email@hidden>)
 >Re: Creating a Detail Interface for the To-Many Relationship (From: Bruce Smith <email@hidden>)

  • Prev by Date: Re: Creating a Detail Interface for the To-Many Relationship
  • Next by Date: WebObjects 5.3.3 released
  • Previous by thread: Re: Creating a Detail Interface for the To-Many Relationship
  • Next by thread: Re: Creating a Detail Interface for the To-Many Relationship
  • Index(es):
    • Date
    • Thread