Overview

Standard JET2 Format Tags

formatTags

Standard utility tags that rewrite their content in a different format.


Tag Summary
<f:bundle>

Define the message bundle from which contained f:message tags will retrieve messages

<f:formatNow> Formats and writes out the current date and time
<f:indent>

Indent the tag contents the specified number of times

<f:lc>

Convert the tag contents to lower case

<f:message>

Retrieve a message from a message bundle and either write it or store it in a variable

<f:milliseconds> Writes out a current system milliseconds value
<f:param>

Define a parameter value for a containing f:message tag

<f:replaceAll>

Replace all instances of a value in the tag's content with a new value

<f:setBundle>

Define the default message bundle to be used by all f:message tags in all JET templates

<f:setLocale>

Define the language locale to be used when loading message bundles with the f:bundle and f:setBundle tags

<f:strip>

*** DEPRECATED *** Strip all whitespace from the content

<f:uc>

Convert the tag contents to upper case

<f:unique> Writes out a unique integer value
<f:uuid> Generate a universally unique identifier (UUID)
<f:xpath>

Evaluate the specified XPath function on the tag content and write the result in place of the tag content


Example Directive
<%@taglib prefix="f" id="org.eclipse.jet.formatTags"%>