RE: Getting a reference to the current application
RE: Getting a reference to the current application
- Subject: RE: Getting a reference to the current application
- From: "Albert Jagnow" <email@hidden>
- Date: Thu, 29 Jan 2004 16:27:35 -0600
- Priority: normal
- Thread-topic: Getting a reference to the current application
You should be able to do something like this in your direct action.
Application app = (Application)WOApplication.application();
app.myMethod();
--Albert
-----Original Message-----
From: Mark W. Shead [mailto:email@hidden]
Sent: Thursday, January 29, 2004 3:37 PM
To: List List Apple Webobjects
Subject: Getting a reference to the current application
I am attempting to call a method in Application.java from a direct
action. I can't seem to find a way to get a reference to the
application from within the direct action. Is this possible?
Thanks!
Mark
_______________________________________________
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.
This e-mail (including any attachments) is covered by the Electronic
Communications Privacy Act, 18 USC. 2510-2521. It is confidential and
may be legally privileged. If you are not the intended recipient, you
are hereby notified that any retention, dissemination, distribution, or
copying of this communication is strictly prohibited. Please reply to
the sender that you have received the message in error, and then delete
it. Thank you.
_______________________________________________
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.