Overview

Standard JET2 Format Tags

formatTags

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


Tag Summary
<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:milliseconds> Writes out a current system milliseconds value
<f:replaceAll>

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

<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"%>