Open Core
Tag messages


Custom tag to display messages defined using call to CallContext.getInstance().getMessages().addXYZ() on the UI processed using servlet derived from WebUIServlet. Place this tag in your JSP page at the place where you want to display informational or error messages generated by application for the user. This tag will generate DIV element with informational and error messages in it that you can format using CSS. The default css classes for this tag are included in <%=contextpath%>/core/css/message.css. If you do not specify your own css styles, you should include this default css file whenever you use this tag.

Example:
<core:messages id="dialogmessages"/>


Tag Information
Tag Classorg.opensubsystems.core.www.MessageTag
TagExtraInfo ClassNone
Body Contentempty
Display Namemessages

Attributes
NameRequiredRequest-timeTypeDescription
idtruetruejava.lang.StringId of the DIV where messages will be displayed. Subarea where error messages are displayed will have id created by appending error and subarea for information messages will have id created by appending info. Required.
cssclassfalsetruejava.lang.StringCSS class for the area where messages are displayed. Subarea where error messages are displayed will have class created by appending Error and subarea for information messages will have class created by appending Info.
emptyfalsetruejava.lang.StringFlag signaling to also include the message area if the area would be empty. If the message area should be included even if it is empty this should say true or 1.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.