• 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: Chuck Hill <email@hidden>
  • Date: Wed, 05 Feb 2003 12:29:43 -0800

What type is nextPage?  If is it WOComponent then this will happen.  Try this:

((UserEditingPage)nextPage).setUser(user);
  ^^^^- your page name here.

If not that then check to see that this method has been created on the page
you are calling it on.


Chuck


At 03:09 AM 06/02/2003 +0800, Green Joan wrote:
>When I tried to build and run the example in chap5 of the
>webobjects(webapplication)  manual, I found two errors but I cannot locate
>the reason.
>
>There are two compiling areas ,one is in main.java ,the other is in
>UserEdit.java because
>of the same reason:
>
>nextPage.setUser(user);
>
>setUser(user) function seems not existed.
>
>Would you please help me ?Thanks in advance.
>
>Joan
>
>_________________________________________________________________
>SkA*;z5DEsSQ=xPP=;Aw#,GkJ9SC MSN Messenger:  http://messenger.msn.com/cn
>_______________________________________________
>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.
>

--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
_______________________________________________
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>)

  • Prev by Date: Re: Launching from WOLips: Properties file
  • Next by Date: Re: Has anyone seen a problem with LEFT JOINs in WO 5.2 and MySql?
  • Previous by thread: question
  • Next by thread: Re: question
  • Index(es):
    • Date
    • Thread