tagName - Tag Name
Specifies a markup tag for the control.
Category
basicsSyntax
tagName="name"
Usage
In Design mode, click All Properties and look for tagName under basics.This
tag replaces the default tag. For example, the default tag for a Computed
Field control is span
.
Examples
This Computed Field control uses the tagdiv
instead of span
.<xp:text escape="true" id="computedField1"
value="#{javascript:return requestScope.number1 + requestScope.number2}"
tagName="div">
<xp:this.converter>
<xp:convertNumber type="number"></xp:convertNumber>
</xp:this.converter>
</xp:text>