|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.DictionaryBeanBase org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase org.kuali.rice.krad.uif.component.ComponentBase org.kuali.rice.krad.uif.element.ContentElementBase org.kuali.rice.krad.uif.element.ValidationMessages org.kuali.rice.krad.uif.element.GroupValidationMessages
public class GroupValidationMessages
ValidationMessages for logic and options specific to groups
Field Summary |
---|
Fields inherited from interface org.kuali.rice.krad.uif.component.Ordered |
---|
INITIAL_ORDER_VALUE |
Fields inherited from interface org.springframework.core.Ordered |
---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Constructor Summary | |
---|---|
GroupValidationMessages()
|
Method Summary | |
---|---|
protected void |
collectIdsFromItems(List<? extends Component> items,
List<String> sectionIds,
List<String> order,
boolean skipSections)
Collects all the ids from the items passed into this method. |
void |
generateMessages(boolean reset,
View view,
Object model,
Component parent)
Generates the messages based on the content in the messageMap |
boolean |
isCollapseAdditionalFieldLinkMessages()
When collapseAdditionalFieldLinkMessages is set to true, the messages generated on field links will be summarized to limit the space they take up with an appendage similar to [+n message type] appended for additional messages that are omitted. |
boolean |
isDisplayFieldLabelWithMessages()
If true, the error messages will display the an InputField's title alongside the error, warning, and info messages related to it. |
boolean |
isDisplayHeaderMessageSummary()
If true, the header message summary will display (this is the message count message appended to section headers). |
void |
setCollapseAdditionalFieldLinkMessages(boolean collapseAdditionalFieldLinkMessages)
Set collapseAdditionalFieldLinkMessages |
void |
setDisplayFieldLabelWithMessages(boolean displayFieldLabelWithMessages)
If true, the error messages will display the an InputField's title alongside the error, warning, and info messages related to it. |
void |
setDisplayHeaderMessageSummary(boolean displayHeaderMessageSummary)
Sets whether the header message summary will display or not for this section/page. |
Methods inherited from class org.kuali.rice.krad.uif.element.ValidationMessages |
---|
addValidationDataSettingsValue, copyProperties, getAdditionalKeysToMatch, getErrors, getInfos, getKeys, getValidationDataDefaults, getWarnings, isDisplayMessages, performFinalize, setAdditionalKeysToMatch, setAdditionalKeysToMatch, setDisplayMessages, setErrors, setInfos, setValidationDataDefaults, setWarnings |
Methods inherited from class org.kuali.rice.krad.uif.element.ContentElementBase |
---|
getComponentTypeName |
Methods inherited from class org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.datadictionary.uif.UifDictionaryBean |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean |
---|
getComponentCode, getNamespaceCode |
Constructor Detail |
---|
public GroupValidationMessages()
Method Detail |
---|
public void generateMessages(boolean reset, View view, Object model, Component parent)
ValidationMessages
generateMessages
in class ValidationMessages
reset
- true to reset the errors, warnings, and info listsview
- the current Viewmodel
- the current modelparent
- the parent of this ValidationMessagesprotected void collectIdsFromItems(List<? extends Component> items, List<String> sectionIds, List<String> order, boolean skipSections)
Puts the ids of items determined to be sections into the sectionIds list, and orders all items by the order they appear on the page in the order list with special identifiers to determine the type of item they are (used by the client js). When skipSections is true do not include sectionIds found in the lists.
items
- items of the groupsectionIds
- list to put section ids intoorder
- list to put order of ids into (both fields and sections)skipSections
- skip adding sectionspublic boolean isDisplayFieldLabelWithMessages()
public void setDisplayFieldLabelWithMessages(boolean displayFieldLabelWithMessages)
displayFieldLabelWithMessages
- the displayFieldLabelWithMessages to setpublic boolean isCollapseAdditionalFieldLinkMessages()
public void setCollapseAdditionalFieldLinkMessages(boolean collapseAdditionalFieldLinkMessages)
collapseAdditionalFieldLinkMessages
- - true if field link messages are being collapsedpublic boolean isDisplayHeaderMessageSummary()
public void setDisplayHeaderMessageSummary(boolean displayHeaderMessageSummary)
displayHeaderMessageSummary
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |