Class FieldValidationMessages

All Implemented Interfaces:
Serializable, Cloneable, Copyable, DictionaryBean, UifDictionaryBean

public class FieldValidationMessages extends ValidationMessages
ValidationMessages for logic and options specific to fields.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • FieldValidationMessages

      public FieldValidationMessages()
  • Method Details

    • generateMessages

      public void generateMessages(View view, Object model, Component parent)
      Calls super and add dataAttributes that are appropriate for field level validationMessages data. This data is used by the validation framework clientside.
      Overrides:
      generateMessages in class ValidationMessages
      Parameters:
      view - the current View
      model - the current model
      parent - the parent of this ValidationMessages
      See Also:
      • invalid reference
        krad.validate.js
    • isUseTooltip

      public boolean isUseTooltip()
      When true, use the tooltip on fields to display their relevant messages. When false, these messages will appear directly below the control.
      Returns:
      true if using tooltips for messages, false to display below control
    • setUseTooltip

      public void setUseTooltip(boolean useTooltip)
      Set the useTooltip flag
      Parameters:
      useTooltip - if true, show tooltip, otherwise show messages below field control
    • isShowIcons

      public boolean isShowIcons()
      If true, display dynamic icons next to fields which have messages. Otherwise, do not render these icons.
      Returns:
      true if icons will be displayed, false otherwise
    • setShowIcons

      public void setShowIcons(boolean showIcons)
      Set whether field validation icons should display or not.
      Parameters:
      showIcons -