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(java.lang.String errorMessage)
Add an error message on the server side.java.lang.String
getScriptAddErrorMessage(java.lang.String errorMessage)
Returns the script that will add the given message to the error message list on the client side.java.lang.String
getScriptClear()
Returns the script that will clear the error summaryjava.lang.String
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
java.lang.String getScriptShow() throws PortalException
Returns a client side script that shows the error summary- Returns:
- a String.
- Throws:
PortalException
-
getScriptAddErrorMessage
java.lang.String getScriptAddErrorMessage(java.lang.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
java.lang.String getScriptClear() throws PortalException
Returns the script that will clear the error summary- Returns:
- a String.
- Throws:
PortalException
-
addErrorMessage
void addErrorMessage(java.lang.String errorMessage) throws PortalException
Add an error message on the server side.- Parameters:
errorMessage
-- Throws:
PortalException
-
-