Newbie question: awake() and displayGroups
Newbie question: awake() and displayGroups
- Subject: Newbie question: awake() and displayGroups
- From: "Alex Boster" <email@hidden>
- Date: Tue, 23 Mar 2004 16:22:09 -0800
On my Main.wo page, I need to set a DisplayGroup's master object to the
session's user (call this ownedTasksDisplayGroup). I originally tried
setting this in Main's awake() method. That seemed to work for Main.
I then added an hyperlink action to another page, TaskDetail.wo (to be
loaded with details on the ownedTask the user clicked on).
However, it seems Main.awake() still gets called when the link is clicked
on, yet (perhaps because it's going to another page?) ownedTasksDisplayGroup
doesn't exist - which causes a fatal exception.
I'm a bit puzzled as to why Main.awake() is called, yet
ownedTasksDisplayGroup doesn't exist anymore (I'd have expected one or the
other).
So, what's a good way to proceed? Is there a better place to set
ownedTasksDisplayGroup's masterObject than awake()?
Alex Boster
Software Engineering
Archimedes Technology Group
5660 Eastgate Drive
San Diego CA 92121
_______________________________________________
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.