• 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: deprecated API
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deprecated API


  • Subject: Re: deprecated API
  • From: zac <email@hidden>
  • Date: Thu, 09 Feb 2006 11:46:11 -0800

What's your preffered method of initializing components?

Chuck Hill wrote:

WOComponent, right? The constructor that you should call is the one taking a WOContext as its sole parameter. This is the one called when pageWithName() is used. I'm not sure if there are any potential bad side effects of constructing a top level page manually as opposed to using pageWithName. You might be better off adding a static method to use as a constructor. That can call pageWithName and then set the parameters.

Chuck


On Feb 9, 2006, at 11:20 AM, zac wrote:

I'm an old java hack who is picking up webobjects. When I try to overload a component's default constructor I get build warnings about overloading a deprecated api. I'm wondering what the best practices policy is for initializing components with more than one set of parameters.

Thx,

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


This email sent to email@hidden



_______________________________________________ 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
  • Follow-Ups:
    • Re: deprecated API
      • From: Chuck Hill <email@hidden>
References: 
 >deprecated API (From: zac <email@hidden>)
 >Re: deprecated API (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: deprecated API
  • Next by Date: Re: deprecated API
  • Previous by thread: Re: deprecated API
  • Next by thread: Re: deprecated API
  • Index(es):
    • Date
    • Thread