Developing Web 2.0 applications
with JavaServerFaces
and Dreamweaver
>> Just Became Easier
Documentation
Search
  1. Introduction
  2. Getting Started
  3. Tomahawk Concepts
  4. Code View Support
  5. Design View Support
  6. Tag Object Toolbars
  7. Tomahawk Server Behaviors
  8. Tomahawk Property Inspectors
  9. Tomahawk Tag Reference
Tomahawk Tag Library
  t:aliasBean
  t:aliasBeansScope
  t:buffer
  t:captcha
  t:checkbox
  t:collapsiblePanel
  t:column
  t:columns
  t:commandButton
  t:commandLink
  t:commandNavigation
  t:commandNavigation2
  t:commandSortHeader
  t:dataList
  t:dataScroller
  t:dataTable
  t:div
  t:document
  t:documentBody
  t:documentHead
  t:dojoInitializer
  t:fieldset
  t:graphicImage
  t:headerLink
  t:htmlTag
  t:iconProvider
  t:inputCalendar
  t:inputDate
  t:inputFileUpload
  t:inputHidden
  t:inputHtml
  t:inputSecret
  t:inputText
  t:inputTextHelp
  t:inputTextarea
  t:jsValueChangeListener
  t:jsValueSet
  t:jscookMenu
Selected t:message
  t:messages
  t:navigationMenuItem
  t:navigationMenuItems
  t:newspaperTable
  t:outputLabel
  t:outputText
  t:panelGrid
  t:panelGroup
  t:panelLayout
  t:panelNavigation
  t:panelNavigation2
  t:panelStack
  t:panelTab
  t:panelTabbedPane
  t:popup
  t:radio
  t:saveState
  t:schedule
  t:selectBooleanCheckbox
  t:selectItems
  t:selectManyCheckbox
  t:selectManyListbox
  t:selectManyMenu
  t:selectManyPicklist
  t:selectOneCountry
  t:selectOneLanguage
  t:selectOneListbox
  t:selectOneMenu
  t:selectOneRadio
  t:selectOneRow
  t:stylesheet
  t:subform
  t:swapImage
  t:tabChangeListener
  t:toggleGroup
  t:toggleLink
  t:togglePanel
  t:tree
  t:tree2
  t:treeCheckbox
  t:treeColumn
  t:treeSelectionListener
  t:updateActionListener
  t:validateCreditCard
  t:validateEmail
  t:validateEqual
  t:validateRegExpr
  t:xmlTransform
If you like this documentation, please take a look at my book:

9. Tomahawk Tag Reference

Documentation > Tomahawk > Tomahawk Tag Reference > Tomahawk Tag Library > t:message

t:message

<p>The <t:message> tag extends the JSF h:message tag. It supports conditional rendering based on user roles and supports additional formatting options. For example, you can substitute a more meaningful label for a particular UI component's ID in the generated message.</p>

Example

<t:message> </t:message> 

Tag Attributes

binding Expression
 
The value-binding expression linking this component tag to a backing bean property.
detailFormat Text
 
The detailFormat attribute allows you to customize the appearance of the detail text message rendered for this component. It defines the pattern used to format the message. If the component associated with this message has a label, then the label is included in the formatted message string. For example:"The input you have entered for {1} is incorrect:{0}"
dir Text
 
The dir attribute is a standard HTML attribute that overrides the default text directionality for this component. The values accepted for this component are "LTR" (left-to-right) and "RTL" (right-to-left).
enabledOnUserRole Text
 
The enabledOnUserRole attribute determines if this component will be rendered normally or not depending on the user's roles.
errorClass Text
 
The errorClass attribute sets the CSS style class to apply to a message with a severity level of "ERROR".
errorStyle Text
 
The errorStyle attribute sets the CSS style or styles to apply to a message with a severity level of "ERROR".
fatalClass Text
 
The fatalClass attribute sets the CSS style class to apply to a message with a severity level of "FATAL".
fatalStyle Text
 
The fatalStyle attribute sets the CSS style or styles to apply to a message with a severity level of "FATAL".
for Text
Required
The for attribute is the id of the component this component extends or is part of. This attribute is required by some tags.
forceId Text
 
The forceId attribute expects a boolean value, that when set to true, forces the tag to render its ID exactly as specified in the ID attribute. This allows you to apply CSS styles to the tag and to reference it in JavaScript by ID, which is typically not possible using the default JSF component ID naming system. This attribute is false by default.
forceIdIndex Text
 
The forceIdIndex attribute effects the component ID name when this component is rendered at runtime. It expects a boolean value that, when true, causes the component to display an index number in its ID value if the component is in a list. It has a default value of true.
forceSpan Text
 
The forceSpan attribute displays an empty span element if its value is true.
id Text
 
The unique identifier value for this component. The value must be unique within the closest naming container.
infoClass Text
 
The infoClass attribute sets the CSS style class to apply to a message with a severity level of "INFO".
infoStyle Text
 
The infoStyle attribute sets the CSS style or styles to apply to a message with a severity level of "INFO".
lang Text
 
The lang attribute is a standard HTML attribute that sets the code describing the language to be used in the markup generated by this component.
onclick Text
 
The onclick attribute sets the JavaScript code to execute when the mouse pointer is clicked over this element.
ondblclick Text
 
The ondblclick attribute sets the JavaScript code to execute when the mouse pointer is double-clicked over this element.
onkeydown Text
 
The onkeydown attribute sets the JavaScript code to execute when a key is pressed down over this element.
onkeypress Text
 
The onkeypress attribute sets the JavaScript code to execute when a key is pressed and released over this element.
onkeyup Text
 
The onkeyup attribute sets the JavaScript code to execute when a key is released over this element.
onmousedown Text
 
The onmousedown attribute sets the JavaScript code to execute when the mouse pointer is pressed down over this element.
onmousemove Text
 
The onmousemove attribute sets the JavaScript code to execute when the mouse pointer is moved within this element.
onmouseout Text
 
The onmouseout attribute sets the JavaScript code to execute when the mouse pointer is moved away from this element.
onmouseover Text
 
The onmouseover attribute sets the JavaScript code to execute when the mouse pointer is moved onto this element.
onmouseup Text
 
The onmouseup attribute sets the JavaScript code to execute when the mouse button is released over this element.
rendered Text
 
A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered.
replaceIdWithLabel Text
 
The replaceIdWithLabel attribute expects a boolean value that, when true, causes the ID string of this component to be replaced with the component's label in validation messages. The default value is true.
showDetail Text
 
The showDetail attribute is a boolean flag indicating whether the detail part of the message should be included. The default value is "true".
showSummary Text
 
The showSummary attribute is a boolean flag indicating whether the summary part of the message should be included. The default value is "false".
style Text
 
The style attribute sets the CSS style definition to be applied to this component when it is rendered.
styleClass Text
 
The styleClass attribute sets the CSS class to apply to this component when it is rendered.
summaryFormat Text
 
The summaryFormat attribute allows you to customize the appearance of the summary text rendered for this component. It defines the pattern used to format the message. If the component associated with this message has a label, then the label is included in the formatted message string. For example:"The input you have entered for {1} is incorrect:{0}"
title Text
 
The title attribute is a standard HTML attribute that sets the tooltip text to display for the rendered component.
tooltip Text
 
The tooltip attribute is a boolean flag indicating whether the detail part of the message should be displayed as a tooltip.
visibleOnUserRole Text
 
The visibleOnUserRole attribute determines if this component will be visible or not depending on the user's roles.
warnClass Text
 
The warnClass attribute sets the CSS style class to apply to a message with a severity level of "WARN".
warnStyle Text
 
The warnStyle attribute sets the CSS style or styles to apply to a message with a severity level of "WARN".