(no subject)
(no subject)
- Subject: (no subject)
- From: Seejo Pylappan <email@hidden>
- Date: Tue, 21 Sep 2004 07:58:58 -0400
You need to cast the object. apeopleList.objectAtIndex(0) returns an
Object. you need to do (apeople)apeopleList.objectAtIndex(0).
setApeople((apeople)apeopleList.objectAtIndex(0))
On Sep 21, 2004, at 7:54 AM, Christian Telepski wrote:
Hi,
i have some strange problems and i think it should be easy solved.
I have an entity of "apeople" in the database and an NSMutableArray
wich stores all those "apeople".
This is "apeopleList".
Now i wanted to pass "apeopleList.objectAtIndex(0)" to the "apeople"
with "setApeople(apeopleList.objectAtIndex(0))" but this does not
work!
The error is: "setApeople(apeople) cannot be applied to
(java.lang.Object)"
How can i manage it?
Thanks in advance!
cheers Christian telepski
_______________________________________________
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