Index: topia/src/java/org/codelutin/topia/ContextHelper.java diff -u topia/src/java/org/codelutin/topia/ContextHelper.java:1.6 topia/src/java/org/codelutin/topia/ContextHelper.java:1.7 --- topia/src/java/org/codelutin/topia/ContextHelper.java:1.6 Fri Jul 29 17:18:45 2005 +++ topia/src/java/org/codelutin/topia/ContextHelper.java Wed Aug 3 16:11:44 2005 @@ -23,9 +23,9 @@ * * @author Benjamin Poussin * Copyright Code Lutin - * @version $Revision: 1.6 $ + * @version $Revision: 1.7 $ * - * Mise a jour: $Date: 2005/07/29 17:18:45 $ + * Mise a jour: $Date: 2005/08/03 16:11:44 $ * par : $Author: thimel $ */ @@ -96,7 +96,7 @@ } // load properties for helper - String propertiesFilename = properties.getProperty(propertyId+".properties");/* TODO .file ??? */ + String propertiesFilename = properties.getProperty(propertyId+".properties.file");/* TODO .file ??? */ properties = new RecursiveProperties(properties); if (propertiesFilename != null && !propertiesFilename.equals("")) { try { @@ -115,7 +115,7 @@ Class mappedClass = null; try { // Warning : don't replace that for a Class.forName(...) has it does NOT behave the same way ! - mappedClass = getClass().forName(className); + mappedClass = getClass().forName(className.trim()); Object result = null; if(singleton){ // on ajoute dans les properties la class pour discreminer les singletons