• 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
Newbie question: awake() and displayGroups
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: JfreeChart, WebObjects, Deployment
  • Next by Date: Off Topic : XCode, Java and Code Completion
  • Previous by thread: Re: JfreeChart, WebObjects, Deployment
  • Next by thread: Off Topic : XCode, Java and Code Completion
  • Index(es):
    • Date
    • Thread