Re: WO and Java 'packages'?
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.