On 13/06/2008, at 6:40 PM, Amedeo Mantica wrote:
public class Application extends ERXAjaxApplication {
ERXMessageEncoding.setDefaultEncodingForAllLanguages("UTF8");
Besides everything else in this thread you want UTF-8 (i.e., with
the hyphen)
with regards,
--
Lachlan D
public class Application extends ERXAjaxApplication {
public static void main(String[] argv) {
ERXApplication.main(argv, Application.class);
}
public Application() {
NSLog.out.appendln("Welcome to " + name() + " !");
/* **
so does you Application class subclass ERXAjaxApplication ?
if so then that's the problem. You need to subclass ERXApplication
(which itself is a subclass of ERXApplication for all the auto
initialise stuff to work. Or call it explicitly as you are now doing.
Simon
On 12 Jun 2008, at 12:55
Hello Simon and all,
I looked at ERJavaMail sources, now I have put in my Application
constructor
ERJavaMail.sharedInstance().initializeFrameworkFromSystemProperties();
but I don't understand why this method is not automatically called
Mine is an ERXAjaxApplication.
Thank you all
Regards
A