2 wod problems migrating to WOLips
Tom Woteki <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm making the leap but i have 2 problems. Any help much appreciated
and thanks in advance:
1)
I have a custom component declared as:
package com.my.package;
public class MyComponent extends WOComponent { ... }
In a wod file I have:
myComponent : com.my.package.MyComponent { ... }
I get an error message on the wod saying: "The class for
com.my.component.MyComponent is either missing or does not extend
WOElement"
However, the class is not missing. The class is in a framework that
has been imported. And of course WOComponent extends WOElement.
Help?
2)
In the java source for a component I have:
public Producer producer; // Producer is imported form elsewhere.
Producer has a method "producer", i.e. producer.producer() returns a
String;
In the wod file for the component I have:
PopUpButton1: WOPopUpButton {
displayString = producer.producer;
....
}
I get the error message on the wod saying: "There is no key
'producer' for the keypath 'producer' ... ". But of course there is.
Help?
THanks very much.
Tom
_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev