WO Tutorial - Component Communication
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.