Re: How does one call Application.setSMTPHost from the client side?
Re: How does one call Application.setSMTPHost from the client side?
- Subject: Re: How does one call Application.setSMTPHost from the client side?
- From: Scott Ellsworth <email@hidden>
- Date: Fri, 30 May 2003 12:21:29 -0700
On Friday, May 30, 2003, at 12:05 PM, B. Shank wrote:
On Friday, May 30, 2003, at 11:56 AM, Scott Ellsworth wrote:
This should be simple.
I want to set the SMTP server from a client side FormController. I
can see how to do this if there were a way to set it from the server
side Session object, or if there were a way to get at the server side
Application object from the client side FormController. Sessions, as
best as I can tell, do not have access to the Application, and client
side form controllers do not have access to it either. (Unless I
missed something.)
Try: public static WOApplication application ()
Simple, indeed.
Looking at my notes, I had apparently looked for a static Session
method named application, not a static method in Application.
Sigh.
Thanks much.
Scott
_______________________________________________
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.