Search in sources :

Example 1 with OgnlValueStackFactory

use of com.opensymphony.xwork2.ognl.OgnlValueStackFactory in project struts by apache.

the class ValidateAction method createValueStackFactory.

private ValueStackFactory createValueStackFactory(final Map<String, Object> context) {
    OgnlValueStackFactory factory = new OgnlValueStackFactory() {

        @Override
        public ValueStack createValueStack(ValueStack stack) {
            return createStubValueStack(context);
        }
    };
    container.inject(factory);
    return factory;
}
Also used : OgnlValueStackFactory(com.opensymphony.xwork2.ognl.OgnlValueStackFactory) OgnlValueStack(com.opensymphony.xwork2.ognl.OgnlValueStack) ValueStack(com.opensymphony.xwork2.util.ValueStack)

Aggregations

OgnlValueStack (com.opensymphony.xwork2.ognl.OgnlValueStack)1 OgnlValueStackFactory (com.opensymphony.xwork2.ognl.OgnlValueStackFactory)1 ValueStack (com.opensymphony.xwork2.util.ValueStack)1