public class FieldValidationMessages extends ValidationMessages
componentCode, namespaceCode
Constructor and Description |
---|
FieldValidationMessages() |
Modifier and Type | Method and Description |
---|---|
void |
generateMessages(View view,
Object model,
Component parent)
Calls super and add dataAttributes that are appropriate for field level validationMessages
data.
|
boolean |
isShowIcons()
If true, display dynamic icons next to fields which have messages.
|
boolean |
isUseTooltip()
When true, use the tooltip on fields to display their relevant messages.
|
void |
setShowIcons(boolean showIcons)
Set whether field validation icons should display or not.
|
void |
setUseTooltip(boolean useTooltip)
Set the useTooltip flag
|
addNestedGroupKeys, addValidationDataSettingsValue, getAdditionalKeysToMatch, getErrors, getInfos, getKeys, getMessages, getWarnings, isDisplayMessages, setAdditionalKeysToMatch, setAdditionalKeysToMatch, setDisplayMessages, setErrors, setInfos, setWarnings
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressions
clone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode
public FieldValidationMessages()
public void generateMessages(View view, Object model, Component parent)
generateMessages
in class ValidationMessages
view
- the current Viewmodel
- the current modelparent
- the parent of this ValidationMessageskrad.validate.js
public boolean isUseTooltip()
public void setUseTooltip(boolean useTooltip)
useTooltip
- if true, show tooltip, otherwise show messages below field controlpublic boolean isShowIcons()
public void setShowIcons(boolean showIcons)
showIcons
- Copyright © 2005–2015 The Kuali Foundation. All rights reserved.