Re: Classcastexception _EOCheapMutableArray
Re: Classcastexception _EOCheapMutableArray
- Subject: Re: Classcastexception _EOCheapMutableArray
- From: Don <email@hidden>
- Date: Sat, 08 Dec 2007 17:58:47 -0800
Sorry, I meant it only contains a single row of the Agents entity.
Don
On Saturday, December 08, 2007, at 08:57PM, "Don" <email@hidden> wrote:
>The agents variable is a single agent. I have renamed my variables
>to make the code more readable and checked that it is a single Agent
>entity.
>
>thanks,
>
>Don
>On Dec 8, 2007, at 8:28 PM, Mike Schrag wrote:
>
>>> datasource:
>>> sourceObject: agents
>> sourceObject is expecting a single EO, not an array of EO's ...
>> You're getting a ClassCastException because it's trying to cast
>> your agents array to an EO.
>>
>> ms
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> 40mac.com
>>
>> This email sent to email@hidden
>
>
> _______________________________________________
>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
>
>
_______________________________________________
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