Skip to content

4.23 Paragraph

Paragraph component designed to display text with various style and formatting options.

Attribute Default Value Type Description
Common id null String Unique identifier of the component. If it doesn't have an id, it is assigned with the nomenclature ${tag}${num}.
render true Boolean or JEXLExpression EL expression to evaluate if the component should be displayed.
onBeforeRender null String JS method to execute before the current component is rendered.
onAfterRender null String JS method that will be executed once the current component is rendered.
action null String Identifier of the action to perform when the user interacts with this component.
allowsPartialRestore false Boolean If the state of the current component should be restored when the user returns to the view.
value null String or JEXLExpression EL expression to calculate the component's value.
fontSize null Integer Font size.
fontColor null String Font color.
backgroundColor null String Background color.
italic false Boolean Italic.
bold false Boolean Bold.
uppercase false Boolean Uppercase.
underlined false Boolean Underlined.
<p value="Normal text"/>
<p value="Text size 22" fontSize="22"/>
<p value="Red text" fontColor="#ED1C24"/>
<p value="Red background" backgroundColor="#ED1C24"/>
<p bold="true" value="Bold"/>
<p italic="true" value="Italic"/>
<p uppercase="true" value="Uppercase"/>
<p underlined="true" value="Underlined"/>

img.png