Class HasGlobalErrorsFunction

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

public class HasGlobalErrorsFunction 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

    • HasGlobalErrorsFunction

      public HasGlobalErrorsFunction()
  • Method Details

    • execute

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