• 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: Classcastexception _EOCheapMutableArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Classcastexception _EOCheapMutableArray (From: Don Lindsay <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray (From: Chuck Hill <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray (From: Don Lindsay <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray (From: Don Lindsay <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray (From: Don Lindsay <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray (From: Lachlan Deck <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray (From: Don Lindsay <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray (From: Lachlan Deck <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray (From: Don Lindsay <email@hidden>)

  • Prev by Date: Re: Classcastexception _EOCheapMutableArray
  • Next by Date: Re: Classcastexception _EOCheapMutableArray Solved
  • Previous by thread: Re: Classcastexception _EOCheapMutableArray
  • Next by thread: Re: Classcastexception _EOCheapMutableArray
  • Index(es):
    • Date
    • Thread