Select Templating in Java

The Select field will add a dropdown select box of choices for the content authors to pick from.

Get the Select field text value

The following example shows how to retrieve the value of a Select field using the getText() method.

Copy
<p class="category">
  ${document.getText("article.category")}
</p>