• 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: WO and Java 'packages'?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO and Java 'packages'?


  • Subject: Re: WO and Java 'packages'?
  • From: Chris Pavicich <email@hidden>
  • Date: Thu, 22 Apr 2004 00:05:24 -0400

Anjo,

The confusion stemmed from me looking at a WOD in one of our applications.
All classes and components in our apps are in one package. Any class or
component in a framework in it's own separate package.


So we end with the WODs that look like:

Foo : SomeComponentInTheAppPackage {} and

Bar : com.wdpro.some.other.package.Component {}

I choose poorly when using the word 'framework', I should have used 'package'.

My apologies to anyone I may have confused.

CMP


On Apr 21, 2004, at 20:03, Anjo Krank wrote:


Am 21.04.2004 um 23:36 schrieb Chris Pavicich:
If you are making pageWithName calls to load a page from your app, you
should be cool. If you are using them to load pages from a Framework,
you will need to use a fully qualified name.

Just where did you get that idea??

The same thing will apply for WOD files. If you are using a component
defined in a framework, you need to use the fully qualified name.

Not from what I use.

Fact is that you need a KeyValueCodingAccessor class if you use KVC, have protected vars/methods and your classes are in a package. Fact is also that you need to use fully qualified names if you have name clashes (com.x.Foo and com.y.Foo classes in the same classpath). But if you use a prefix, you shouldn't have any problems.

Cheers, Anjo
_______________________________________________
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.


References: 
 >Re: WO and Java 'packages'? (From: Chris Pavicich <email@hidden>)
 >Re: WO and Java 'packages'? (From: Anjo Krank <email@hidden>)

  • Prev by Date: Question for the Java Gurus
  • Next by Date: Re: Question for the Java Gurus
  • Previous by thread: Re: WO and Java 'packages'?
  • Next by thread: Re: WO and Java 'packages'?
  • Index(es):
    • Date
    • Thread