Class BaseBindingResultFunction
java.lang.Object
io.pebbletemplates.spring.extension.function.bindingresult.BaseBindingResultFunction
- All Implemented Interfaces:
io.pebbletemplates.pebble.extension.Function,io.pebbletemplates.pebble.extension.NamedArguments
- Direct Known Subclasses:
GetAllErrorsFunction,GetFieldErrorsFunction,GetGlobalErrorsFunction,HasErrorsFunction,HasFieldErrorsFunction,HasGlobalErrorsFunction
public abstract class BaseBindingResultFunction
extends Object
implements io.pebbletemplates.pebble.extension.Function
Base class of the function interacting with the BindingResult
- Author:
- Eric Bussieres
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.validation.BindingResultgetBindingResult(String formName, io.pebbletemplates.pebble.template.EvaluationContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.pebbletemplates.pebble.extension.Function
execute
-
Field Details
-
PARAM_FIELD_NAME
- See Also:
-
PARAM_FORM_NAME
- See Also:
-
-
Constructor Details
-
BaseBindingResultFunction
-
-
Method Details
-
getArgumentNames
- Specified by:
getArgumentNamesin interfaceio.pebbletemplates.pebble.extension.NamedArguments
-
getBindingResult
protected org.springframework.validation.BindingResult getBindingResult(String formName, io.pebbletemplates.pebble.template.EvaluationContext context)
-