In Z-CMS, a Message Area for displaying message texts inside a webpage can be configured using the Z-CMS message tag zcms:message.
Message Area can be a common one for the entire webpage or can be specific to a particular component (ex. a textbox) of the webpage. A common Message Area can be defined as follows:
<zcms:message for="*" class="errorclass" />
Message Area specific to a textbox named "txtusername" in the webpage can be defined as:
<zcms:message for="txtusername" class="errorclass" />