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

Re: question


  • Subject: Re: question
  • From: Art Isbell <email@hidden>
  • Date: Wed, 5 Feb 2003 15:29:32 -1000

On Wednesday, February 5, 2003, at 12:56  PM, Denis Stanton wrote:

On Thursday, February 6, 2003, at 08:09  AM, Green Joan wrote:

nextPage.setUser(user);

setUser(user) function seems not existed.

You have to identify the particular component that nextPage represents. You need a cast statement. It should look like this:
(MyPage)nextPage.setUser(user);

I built the example without any compiler error, so the proper cast exists in the original code. So the original code must have been modified incorrectly to produce this error. If we could see the entire line or lines that are generating the error messages, we might have better luck understanding the problem.


Art
http://homepage.mac.com/aisbell/
_______________________________________________
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: 
 >Re: question (From: Denis Stanton <email@hidden>)

  • Prev by Date: Re: question
  • Next by Date: Re: Help! New WO Java Class crashes Assistant...
  • Previous by thread: Re: question
  • Next by thread: Re: question
  • Index(es):
    • Date
    • Thread