The text
tag allows text fragments to be produced from application data using normal JSF converter mechanisms. It is very similar to the outputText
tag used when rendering HTML documents. Here is an example:
<p:paragraph>
The item costs <p:text value="#{product.price}">
<f:convertNumber type="currency" currencySymbol="$"/>
</p:text>
</p:paragraph>
-
value
-
The value to be displayed. This will typically be a value binding expression.