to.etc.domui.dom.errors
Interface INodeErrorDelegate

All Known Subinterfaces:
IControl<T>, IInputNode<T>
All Known Implementing Classes:
AbstractDivControl, AccessDeniedPage, ALink, AppPageTitleBar, AsyncContainer, ATag, BasePageTitleBar, BasicEditPage, BasicListPage, BasicPage, BR, BreadCrumb, Button, ButtonBar, Caption, CaptionedHeader, CaptionedPanel, Checkbox, CheckBoxDataTable, ColorPicker, ColorPickerButton, ComboComponentBase, ComboFixed, ComboFixedClientFilter, ComboLookup, DataCellTable, DataPager, DataTable, DateInput, DefaultButton, DisplayCheckbox, DisplayHtml, DisplayOnlyPropertyBinding, DisplayValue, Div, DynaIma, ErrorMessageDiv, ErrorPanel, ExpandingEditTable, ExpiredDataPage, Explanation, FCKEditor, FileInput, FileUpload, FloatingWindow, Form, HiddenInput, HiddenText, HTag, HtmlEditor, Img, InfoPanel, Input, InputNodeContainer, InternalParentTree, Label, Li, LinkButton, ListShuttle, LiteralXhtml, LookupForm, LookupInput, ModificationFenceDiv, MonthPanel, MsgBox, MultipleSelectionDataTable, MultipleSelectionLookup, NiceButton, NodeBase, NodeContainer, OddCharacters, PercentageCompleteRuler, PollingDiv, PopInPanel, RadioButton, ScrollableTabPanel, Select, SelectBasedControl, SelectOption, ShelveBreadCrumb, SimpleComponentPropertyBinding, SimpleLookup, SmallImgButton, Span, SpanBasedControl, SplitPanel, SplitterPanel, Table, TableModelTableBase, TabPanel, TabPanelBase, TabularComponentBase, TBody, TD, Text, TextArea, TextNode, TextStr, TH, THead, TR, Tree, TreeSelect, TreeSelectionWindow, Ul, UrlPage, VerticalSpacer, WeekAgendaComponent, XmlTextNode

public interface INodeErrorDelegate

FIXME Bad name

Author:
Frits Jalvingh Created on Sep 22, 2009

Method Summary
 void clearMessage()
          Remove this-component's "current" error message, if present.
 UIMessage getMessage()
           
 UIMessage setMessage(UIMessage msg)
          This sets a message (an error, warning or info message) on this control.
 

Method Detail

setMessage

UIMessage setMessage(UIMessage msg)
This sets a message (an error, warning or info message) on this control. If the control already has an error then we check if the severity of the new error is higher than the severity of the existing one; only in that case will the error be removed. To clear the error message call clearMessage().

Parameters:
message -

clearMessage

void clearMessage()
Remove this-component's "current" error message, if present.


getMessage

UIMessage getMessage()