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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user