More work on the Mini-language <simple-method> element: I added the SimpleMethod object to the environment (bindings) to permit introspection.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1334404 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian Crum
2012-05-05 11:39:55 +00:00
parent ea8ef272d5
commit 02e87f4e51
@@ -409,6 +409,7 @@ public final class SimpleMethod {
methodContext.putEnv(eventSessionName, methodContext.getRequest().getSession());
methodContext.putEnv(eventResponseName, methodContext.getResponse());
}
methodContext.putEnv("simpleMethod", this);
methodContext.putEnv("methodName", this.getMethodName());
methodContext.putEnv("methodShortDescription", this.getShortDescription());
// if using transaction, try to start here