Runtime tools : Channels components : HTML Channel : Reference : Custom JSP tags : LabelTag
  
LabelTag
A label tag references a DataField in the context hierarchy and creates text on the HTML page with the value of the DataField.
Attributes
dataName
Name of the DataField in the context hierarchy. This is a required value if the text attribute is not defined.
Default value: null
fontColor
Color of the text
Default value: null
fontSize
Size of the text
Default value: null
fontFace
Typeface of the text
Default value: null
style
Style for the label
Default value: null
text
Key to use when searching in a resource bundle for the text to render. If the LabelTag has this attribute defined, it does not use a dataName attribute.
Default value: null
Example
<h1>Using the Label Tag</h1>
<dse:label dataName="aField"/><br>
<dse:label dataName="aField" fontColor="teal" fontSize="5"/><br>
<dse:label dataName="aField" fontColor="#44FF44" fontSize="+1" fontFace="Arial"/><br>
<dse:label dataName="aField" style="orangered"/><br>
<dse:label text="messageOne"/><br>
Go up to
Custom JSP tags