Annotation Interface ClientSideValidator


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface ClientSideValidator
Annotation for a Validator class that provides the information about the client-side validator.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the javascript function that performs the client-side validation.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name of the webapp that contains the javascript code
    List of javascript resources (relative to the base) that are required to do the client-side validation.
  • Element Details

    • function

      String function
      The name of the javascript function that performs the client-side validation.
    • base

      String base
      The name of the webapp that contains the javascript code
      Default:
      "wm_cafshared"
    • scripts

      ClientSideScript[] scripts
      List of javascript resources (relative to the base) that are required to do the client-side validation.
      Default:
      {}