public class GetFieldErrorsFunction extends BaseBindingResultFunction
Function available to templates in Spring MVC applications in order to access the BindingResult of a form
| Modifier and Type | Field and Description |
|---|---|
static String |
FUNCTION_NAME |
PARAM_FIELD_NAME, PARAM_FORM_NAME| Constructor and Description |
|---|
GetFieldErrorsFunction(org.springframework.context.MessageSource messageSource) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Map<String,Object> args,
PebbleTemplate self,
EvaluationContext context,
int lineNumber) |
getArgumentNames, getBindingResultpublic static final String FUNCTION_NAME
public GetFieldErrorsFunction(org.springframework.context.MessageSource messageSource)
public Object execute(Map<String,Object> args, PebbleTemplate self, EvaluationContext context, int lineNumber)
Copyright © 2019. All rights reserved.