• 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
WO Tutorial - Component Communication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WO Tutorial - Component Communication


  • Subject: WO Tutorial - Component Communication
  • From: Cameron Knowlton <email@hidden>
  • Date: Sun, 5 Jan 2003 12:23:01 -0700

Greetings, and a question from the newbie:

I'm working through the tutorial, but I'm stuck on the final run of the ComponentCommunication project.

Specifically, the noDataEntered() function is failing on its test of

   if (user == null)

It would seem that my user doesn't get instantiated. I do have the code in Main.java:

----------
   public UserEdit editUser()
   {
       UserEdit nextPage = (UserEdit)pageWithName("UserEdit");

       if (user == null) {
           user = new User();
       }

       // Send user to the UserEdit page.
       nextPage.setUser(user);                return nextPage;
   }
----------

Any ideas?

thanks in advance,
Cameron Knowlton
_______________________________________________
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.

  • Prev by Date: Re: Validation exceptions
  • Next by Date: Re: Validation exceptions
  • Previous by thread: Re: Validation exceptions
  • Next by thread: Re: WO Tutorial - Component Communication
  • Index(es):
    • Date
    • Thread