public final class FieldUtils extends Object
Static utility class containing methods for dealing with form fields in Spring-enabled environments.
Note a class with this name existed since 1.0, but it was completely reimplemented in Thymeleaf 3.0
| Modifier and Type | Field and Description | 
|---|---|
static String | 
ALL_EXPRESSION  | 
static String | 
ALL_FIELDS  | 
static String | 
GLOBAL_EXPRESSION  | 
| Modifier and Type | Method and Description | 
|---|---|
static List<DetailedError> | 
detailedErrors(org.thymeleaf.context.IExpressionContext context)  | 
static List<DetailedError> | 
detailedErrors(org.thymeleaf.context.IExpressionContext context,
              String field)  | 
static List<String> | 
errors(org.thymeleaf.context.IExpressionContext context)  | 
static List<String> | 
errors(org.thymeleaf.context.IExpressionContext context,
      String field)  | 
static IThymeleafBindStatus | 
getBindStatus(org.thymeleaf.context.IExpressionContext context,
             boolean optional,
             String expression)  | 
static IThymeleafBindStatus | 
getBindStatus(org.thymeleaf.context.IExpressionContext context,
             String expression)  | 
static IThymeleafBindStatus | 
getBindStatusFromParsedExpression(org.thymeleaf.context.IExpressionContext context,
                                 boolean optional,
                                 boolean useSelectionAsRoot,
                                 String expression)  | 
static IThymeleafBindStatus | 
getBindStatusFromParsedExpression(org.thymeleaf.context.IExpressionContext context,
                                 boolean useSelectionAsRoot,
                                 String expression)  | 
static List<DetailedError> | 
globalDetailedErrors(org.thymeleaf.context.IExpressionContext context)  | 
static List<String> | 
globalErrors(org.thymeleaf.context.IExpressionContext context)  | 
static boolean | 
hasAnyErrors(org.thymeleaf.context.IExpressionContext context)  | 
static boolean | 
hasErrors(org.thymeleaf.context.IExpressionContext context,
         String field)  | 
static boolean | 
hasGlobalErrors(org.thymeleaf.context.IExpressionContext context)  | 
static String | 
idFromName(String fieldName)  | 
public static final String ALL_FIELDS
public static final String GLOBAL_EXPRESSION
public static final String ALL_EXPRESSION
public static boolean hasErrors(org.thymeleaf.context.IExpressionContext context,
                                String field)
public static boolean hasAnyErrors(org.thymeleaf.context.IExpressionContext context)
public static boolean hasGlobalErrors(org.thymeleaf.context.IExpressionContext context)
public static List<String> errors(org.thymeleaf.context.IExpressionContext context, String field)
public static List<String> globalErrors(org.thymeleaf.context.IExpressionContext context)
public static List<DetailedError> detailedErrors(org.thymeleaf.context.IExpressionContext context)
public static List<DetailedError> detailedErrors(org.thymeleaf.context.IExpressionContext context, String field)
public static List<DetailedError> globalDetailedErrors(org.thymeleaf.context.IExpressionContext context)
public static IThymeleafBindStatus getBindStatus(org.thymeleaf.context.IExpressionContext context, String expression)
public static IThymeleafBindStatus getBindStatus(org.thymeleaf.context.IExpressionContext context, boolean optional, String expression)
public static IThymeleafBindStatus getBindStatusFromParsedExpression(org.thymeleaf.context.IExpressionContext context, boolean useSelectionAsRoot, String expression)
public static IThymeleafBindStatus getBindStatusFromParsedExpression(org.thymeleaf.context.IExpressionContext context, boolean optional, boolean useSelectionAsRoot, String expression)
Copyright © 2017 The THYMELEAF team. All rights reserved.