Working with packages in WebObjects/WOLips
Working with packages in WebObjects/WOLips
- Subject: Working with packages in WebObjects/WOLips
- From: "Paul-Liviu Petrus" <email@hidden>
- Date: Thu, 26 Jun 2003 12:26:39 +0200
- Thread-topic: temporary EO
Hi all,
I'm working with the WOLips plugin for WebObjects. The project is
growing larger and I decided to organize it into packages. I created the
packages and used the Eclipse built-in mechanism to move the classes
into the respective packages. The references were wrong in the beginning
but I corrected them and could get the program to compile. But at
Runtime I get errors when trying to access some of the components: the
components don't 'see' their member objects anymore. The error below
happened when trying to access the component named ActivitiesPage.
The Info, ActivitiesPage, and Profile components are in the same
package, de.shp.ecompany. The application and session classes are in the
default package. I defined also other packages, and when I tried to
access their components, I got similar errors.
Is it there a way to work with packages in WebObjects, when the classes
included in them have corresponding .woo components? Someway I think
that the WO Components don't 'see' the classes included in packages,
although in WO Builder I can use them.
Thanks and have a nice day, wherever you are.
Paul.
[2003-06-26 09:23:16 GMT] <WorkerThread1>
<com.webobjects.appserver._private.WOComponentDefinition> WARNING:
Unable to find component class named "Info". If this is not intended to
be a classless component, check your framework settings and the contents
of your classpath file (in the .woa's Contents/<PLATFORM_NAME>
subdirectory).
[2003-06-26 09:23:22 GMT] <WorkerThread2>
<com.webobjects.appserver._private.WOComponentDefinition> WARNING:
Unable to find component class named "Profile". If this is not intended
to be a classless component, check your framework settings and the
contents of your classpath file (in the .woa's Contents/<PLATFORM_NAME>
subdirectory).
[2003-06-26 09:25:18 GMT] <WorkerThread2>
<com.webobjects.appserver._private.WOComponentDefinition> WARNING:
Unable to find component class named "ActivitiesPage". If this is not
intended to be a classless component, check your framework settings and
the contents of your classpath file (in the .woa's
Contents/<PLATFORM_NAME> subdirectory).
[2003-06-26 09:25:33 GMT] <WorkerThread2> <WOApplication 'eCompany'>:
Exception occurred while handling request:
com.webobjects.foundation.NSForwardException
[com.webobjects.foundation.NSForwardException] null
[2003-06-26 09:26:26 GMT] <WorkerThread2>
com.webobjects.foundation.NSForwardException for
com.webobjects.foundation.NSForwardException for
com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException:
[<com.webobjects.appserver.WOComponent name: ActivitiesPage
subcomponents: null > takeValueForKey()]: attempt to assign value to
unknown key: 'activityDG'.
This WOComponent does not have an instance variable of the name
activityDG or _activityDG, nor a method of the name setActivityDG or
_setActivityDG
at
com.webobjects.appserver.WOComponent.handleTakeValueForUnboundKey(WOComp
onent.java:1510)
at
com.webobjects.foundation.NSKeyValueCoding$Utility.handleTakeValueForUnb
oundKey(NSKeyValueCoding.java:525)
at
com.webobjects.foundation.NSKeyValueCoding$_KeyBinding.setValueInObject(
NSKeyValueCoding.java:890)
at
com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.takeVal
ueForKey(NSKeyValueCoding.java:1242)
at
com.webobjects.appserver.WOComponent.takeValueForKey(WOComponent.java:14
78)
at
com.webobjects.foundation.NSKeyValueCoding$Utility.takeValueForKey(NSKey
ValueCoding.java:472)
at
com.webobjects.appserver._private.WOArchiveSupport.initializeObjectFromA
rchive(WOArchiveSupport.java:34)
at
com.webobjects.appserver._private.WOComponentDefinition.finishInitializi
ngComponent(WOComponentDefinition.java:587)
Paul-Liviu Petrus
SHP & Consulting GmbH
D-64293 Darmstadt, Germany
_______________________________________________
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.