Package lumis.doui.control
Interface IErrorSummaryControl
-
- All Superinterfaces:
IControl
- All Known Implementing Classes:
ErrorSummaryControl
public interface IErrorSummaryControl extends IControl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addErrorMessage(String errorMessage)
Add an error message on the server side.String
getScriptAddErrorMessage(String errorMessage)
Returns the script that will add the given message to the error message list on the client side.String
getScriptClear()
Returns the script that will clear the error summaryString
getScriptShow()
Returns a client side script that shows the error summary-
Methods inherited from interface lumis.doui.control.IControl
buildSubControls, createContainer, disconnect, getChildControls, getControlResource, getId, getName, getParentControl, getPrepareForReadScript, getRenderData, getResources, getType, init, isValid, registerOnEventScript, removeChild, removeChildren, setRenderData, setRuntimeAttributes, setValid
-
-
-
-
Method Detail
-
getScriptShow
String getScriptShow() throws PortalException
Returns a client side script that shows the error summary- Returns:
- a String.
- Throws:
PortalException
-
getScriptAddErrorMessage
String getScriptAddErrorMessage(String errorMessage) throws PortalException
Returns the script that will add the given message to the error message list on the client side.- Parameters:
errorMessage
-- Returns:
- a String.
- Throws:
PortalException
-
getScriptClear
String getScriptClear() throws PortalException
Returns the script that will clear the error summary- Returns:
- a String.
- Throws:
PortalException
-
addErrorMessage
void addErrorMessage(String errorMessage) throws PortalException
Add an error message on the server side.- Parameters:
errorMessage
-- Throws:
PortalException
-
-