Class gxe.control.MessageArea
				
				
Extends
					gxe.control.Control.
				
			
				Supports the message area section of the page.
				
				
					
Defined in:  gxe.js.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
- Fields borrowed from class gxe.control.Control:
- cfgObject, context, gxeId, htmlAttributes, htmlElement, htmlTag, htmlTextContent, parentControl, xmlNode, xmlParentElement
| Method Attributes | Method Name and Description | 
|---|---|
| addError(sMessage)
								 Adds an error message. | |
| addMessage(sMessage, sClass)
								 Adds a message. | |
| addSuccess(sMessage)
								 Adds a success message. | |
| addValidationError(sMessage, xmlNode, the)
								 Adds a validation error to the control. | |
| addWarning(sMessage)
								 Adds a warning message. | |
| clearAll()
								 Clears add messages and hides the message area. | |
| handleException(exception)
								 Handles an exception by adding an error message to the control. | 
- Methods borrowed from class gxe.control.Control:
- build, createHtmlElement, ensureVisibility, evaluateValue, execBuild, findFirstChildControl, focus, getLabelText, importCfgProperties, importHtmlAttributes, initialize, processCfgAttribute, processCfgElement, processChildren
- Events borrowed from class gxe.control.Control:
- fireOnEvent, onChildControlCreated, onEvent, onHtmlChildrenCreated, onHtmlElementCreated
					Method Detail
				
				
					 
					
					
					
					addError(sMessage)
					
					
					
						Adds an error message.
						
						
					
					
					
					
						
							- Parameters:
- {String} sMessage
- the message
					
					
					addMessage(sMessage, sClass)
					
					
					
						Adds a message.
						
						
					
					
					
					
						
							- Parameters:
- {String} sMessage
- the message
- {String} sClass
- the CSS class name (success|warning|error)
					
					
					addSuccess(sMessage)
					
					
					
						Adds a success message.
						
						
					
					
					
					
						
							- Parameters:
- {String} sMessage
- the message
					
					
					addValidationError(sMessage, xmlNode, the)
					
					
					
						Adds a validation error to the control.
Validation errors are added as warning messages.
					
					
					
						
							Validation errors are added as warning messages.
- Parameters:
- {String} sMessage
- the message
- {gxe.xml.XmlNode} xmlNode
- the targeted XML node (element or attribute)
- {gxe.control.InputBase} the
- input control associated with the target
					
					
					addWarning(sMessage)
					
					
					
						Adds a warning message.
						
						
					
					
					
					
						
							- Parameters:
- {String} sMessage
- the message
					
					
					clearAll()
					
					
					
						Clears add messages and hides the message area.
						
						
					
					
					
					
						
						
						
						
						
						
						
					
					
					
					handleException(exception)
					
					
					
						Handles an exception by adding an error message to the control.
						
						
					
					
					
					
						
							- Parameters:
- {String} exception
- the exception