Text

amx:outputText

The Text component displays a string of static text. It can be used in different areas of an application, which makes it a very common component. Users read the text and may copy the text from a Page. The Text component consists of a few variations.

Appearance

Appearance characteristics for this component.

Behavior

Common behaviors for this component.

Usage

Usage guidelines for this component.

Sample

AMX sample code for this component.

<amx:outputText value="Sub-Section Title" styleClass="amx-inputText-sectiontitle"/>
<amx:panelFormLayout labelAlignment="top">
<amx:panelLabelAndMessage id="plam1" label="Name">
<amx:commandLink id="cl1" text="Jim Berney" action="editname"/>
</amx:panelLabelAndMessage>
</amx:panelFormLayout>

<amx:outputText value="Within a PFL" styleClass="amx-inputText-sectiontitle"/>
<amx:panelFormLayout>
<amx:panelLabelAndMessage id="plam1" label="Label">
<amx:outputText id="ot1" value="outputText"/>
</amx:panelLabelAndMessage>
</amx:panelFormLayout>
<amx:outputText value="Outside a PFL" styleClass="amx-inputText-sectiontitle"/>
<amx:outputText id="ot1" value="outputText"/>

Related

Fig 1. iOS Text

 

Fig 2. Android Text