Class GetFieldErrorsFunction

java.lang.Object
io.pebbletemplates.spring.extension.function.bindingresult.BaseBindingResultFunction
io.pebbletemplates.spring.extension.function.bindingresult.GetFieldErrorsFunction
All Implemented Interfaces:
io.pebbletemplates.pebble.extension.Function, io.pebbletemplates.pebble.extension.NamedArguments

public class GetFieldErrorsFunction extends BaseBindingResultFunction

Function available to templates in Spring MVC applications in order to access the BindingResult of a form

Author:
Eric Bussieres
  • Field Details

  • Constructor Details

    • GetFieldErrorsFunction

      public GetFieldErrorsFunction(org.springframework.context.MessageSource messageSource)
  • Method Details

    • execute

      public Object execute(Map<String,Object> args, io.pebbletemplates.pebble.template.PebbleTemplate self, io.pebbletemplates.pebble.template.EvaluationContext context, int lineNumber)