Re: question
Re: question
- Subject: Re: question
- From: Denis Stanton <email@hidden>
- Date: Thu, 6 Feb 2003 11:56:12 +1300
Joan
On Thursday, February 6, 2003, at 08:09 AM, Green Joan wrote:
nextPage.setUser(user);
setUser(user) function seems not existed.
I do not have the book to look at so I cannot tell your the exact
answer, but I can see there is an error in the line
"nextPage.setUser(user);"
You have to identify the particular component that nextPage represents.
You need a cast statement. It should look like this:
(MyPage)nextPage.setUser(user);
Where MyPage is the name of the component that includes the setUser
method.
If you don't put (MyPage) in front of nextPage then you can only use
the standard methods defined for the nextPage. If you need to use your
own methods, like setUser you have to put (MyPage) in front.
Denis
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >question (From: "Green Joan" <email@hidden>) |