|
|
@@ -92,7 +92,9 @@ public class ParaProcessorBuilder {
|
|
|
private IParaGetter<?> createParaGetter(Class<? extends Controller> controllerClass, Method method,
|
|
|
Parameter p) {
|
|
|
if(!p.isNamePresent()) {
|
|
|
- log.warn("you should add compiler flag -parameters to support parameter auto binding");
|
|
|
+ log.warn("You should config compiler argument \"-parameters\" for parameter injection of action : " +
|
|
|
+ controllerClass.getName() + "." + method.getName() + "(...)" +
|
|
|
+ "\nVisit http://www.jfinal.com/doc/3-3 for details \n");
|
|
|
}
|
|
|
String parameterName = p.getName();
|
|
|
String defaultValue = null;
|