Attribute | Description | Default value |
---|---|---|
dataName | Name of the DataField in the context hierarchy. This is a required value if the text attribute is not defined. | null |
fontColor | Color of the text | null |
fontSize | Size of the text | null |
fontFace | Typeface of the text | null |
style | Style for the label | 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. | null |
The following is an example of using label tag:
<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>