Re: Classcastexception _EOCheapMutableArray
Re: Classcastexception _EOCheapMutableArray
- Subject: Re: Classcastexception _EOCheapMutableArray
- From: Paul Lynch <email@hidden>
- Date: Sun, 9 Dec 2007 21:38:09 +0000
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden