Re: Getting application instance in Direct Action
Re: Getting application instance in Direct Action
- Subject: Re: Getting application instance in Direct Action
- From: King Chung Huang <email@hidden>
- Date: Sat, 10 Jan 2004 19:02:00 -0700
You can always get the running app's instance by calling
WOApplication.application(). Include the package
com.webobjects.appserver.* if necessary.
King Chung Huang
Learning Commons
University of Calgary
On Jan 10, 2004, at 6:30 PM, Greg Hulands wrote:
Hi,
I have been searching the list and reading the docs, but I cannot seem
to be able to figure out if it is possible to get the application
instance from within a direct action method. I need to get at the
application so that I can read some preferences that are required in
the processing of the direct action.
Is this possible?
Any help is greatly appreciated.
regards,
Greg
_______________________________________________
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.
_______________________________________________
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.