proper use of packages?
proper use of packages?
- Subject: proper use of packages?
- From: Will Norris <email@hidden>
- Date: Thu, 12 May 2005 19:15:22 -0500
Well let me explain what I did and why did it, and then you tell me if
I did it the best way.
Per a suggestion in a previous email (from Chuck I think), I'm working
on moving all of my component subclasses into a custom package
(com.foo.components). When I did that, several errors popped up about
not finding the Session class. It was trying to "import Session;" to
no avail. Is it possible to import a class from the default package
into a class that is in a custom package?
I then decided I might as well moving Session into my custom packages
and placed it in com.foo; I subsequently added Application and
DirectAction here also. At this point the application launches just
fine, but WOBuilder shows no class variables for Application and
Session... it apparently doesn't like them being in packages. I
finally created new Session and Application classes in the default
package that simply extended com.foo.Session and com.foo.Application,
respectively, nothing more. Everyone is now happy.
Is this SOP or is there a way to get WOBuilder to see the Session and
Application classes in packages?
Many thanks,
Will
_______________________________________________
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