On 9 Dec 2007, at 16:50, Don Lindsay wrote:

Here is the Code:

import com.webobjects.foundation.*;
import com.webobjects.appserver.*;
import com.webobjects.eocontrol.*;
import com.webobjects.eoaccess.*;

public class editAgent extends com.psgs.dodig.dwtm.AbstractSubComponent {

    /** @TypeInfo Agents */
    public Agents agent;

The next question is:

where does this value get set?


        public WOComponent oReferringPage;
// This WODisplayGroup is initialized from the .woo archive in the component's constructor method
    public editAgent(WOContext context) {
        super(context);
    }
        
    public void setThisPerson(Agents oAgents)
    {
          this.agent = oAgents;
    }

    public WOComponent returnToPage()
    {
        return oReferringPage;
    }

    public void setCallingPage(WOComponent oPage)
    {
           oReferringPage = oPage;
    }

}

Here is the To Many properties

ToManyRelationship: WOToManyRelationship {
        sourceEntityName = "Agents";
        sourceObject = agent;
        relationshipKey = "mgtOfc";
        destinationDisplayKey = "orgs.description";
}


Paul

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

This email sent to [EMAIL PROTECTED]

Reply via email to