ERXApplication itself extends ERXAjaxApplication ... You're not
getting @unique because ERXAjaxApplication doesn't do any of the other
Wonder extensions other than just enough to support Ajax. I'd need
more info about the backtrack errors to be able to help you there.
You're getting backtrack errors doing what and using which components?
ms
On Sep 29, 2009, at 12:15 PM, Matt Stokes wrote:
This is what I had - but I got occasional back track limit exceed
errors:
public class Application extends ERXApplication {
public static void main(String[] argv) {
ERXApplication.main(argv, Application.class);
}
So now Application class extends from ERXAjaxApplication
public class Application extends ERXAjaxApplication {
public static void main(String[] argv) {
ERXAjaxApplication.main(argv, Application.class);
}
But I get these errors. It is almost as if it does not find the
ERXExtensions framework and the ERXArrayUtilities class.
A fatal exception occurred: No key operator available to compute
aggregate @unique.divisions.title
java.lang.IllegalArgumentException: No key operator available to
compute aggregate @unique.divisions.title
at com.webobjects.foundation.NSArray._valueForKeyPathWithOperator
(NSArray.java:746)
at com.webobjects.foundation.NSArray.valueForKeyPath
(NSArray.java:778)
at com.dgk.Application.<init>(Application.java:87)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.webobjects.appserver.WOApplication.main
(WOApplication.java:547)
at com.dgk.Application.main(Application.java:70)
If I switch back to extending from ERXApplication, it finds it
(@unique) and loads fine.
But then I get occasional backtracking errors.
Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]