• 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: How To : Delegates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How To : Delegates


  • Subject: Re: How To : Delegates
  • From: Art Isbell <email@hidden>
  • Date: Wed, 26 Jan 2005 14:42:40 -1000

On Jan 26, 2005, at 2:28 PM, Andy Beier wrote:

What you will need to do is define a class that implements the
displayGroupDisplayArrayForObjects method then in you Application class
constructor put:

WODisplayGroup.setDelegate(new YourDelegateObject());

One might need to be careful using an object that's available when Application is being constructed. If your app uses concurrent request handling, then you would likely need to make access to the delegate thread-safe. Or your delegate method might need access to state that's specific to each session which wouldn't be accessible from an object that's created when Application is being constructed.


	So what object is chosen to be a delegate needs some consideration.

Aloha,
Art

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >RE: How To : Delegates (From: Andy Beier <email@hidden>)

  • Prev by Date: Re: How To : Delegates
  • Next by Date: Re: How To : Delegates
  • Previous by thread: RE: How To : Delegates
  • Next by thread: Re: How To : Delegates
  • Index(es):
    • Date
    • Thread