Skip to main content
summaryrefslogtreecommitdiffstats
blob: 2dc87672f2d452f1b147f8e8c1c47cae807dff35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="STYLESHEET" href="../../../book.css" charset="ISO-8859-1" type="text/css"/>
<TITLE>overview.html</TITLE>
</HEAD>
<BODY>
<TABLE border="0" cellpadding="0" cellspacing="1" width="100%">

	<TBODY>
		<TR>
			<TH align="left">
			<P>Overview</P>
			</TH>
			<TH align="right">Standard JET2 Format Tags</TH>
		</TR>
	</TBODY>
</TABLE>
<P>formatTags</P>
<P><P>                           Standard utility tags that rewrite their content in a different format.<P>                        </P>
<HR>
<TABLE border="1" width="100%">
	<TBODY>
		<TR>
			<TH colspan="2" align="left">Tag Summary</TH></TR>
		<TR>
			<TD width="10%"><A href="bundleTag.html">&lt;f:bundle&gt;</A></TD>
			<TD><!--	Begin bundle description -->
			<P>               Define the message bundle from which contained f:message tags will retrieve messages
			<!--	End bundle description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="formatNowTag.html">&lt;f:formatNow&gt;</A></TD>
			<TD><!--	Begin formatNow description -->
			Formats and writes out the current date and time
			<!--	End formatNow description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="indentTag.html">&lt;f:indent&gt;</A></TD>
			<TD><!--	Begin indent description -->
			<P>               Indent the tag contents the specified number of times
			<!--	End indent description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="lcTag.html">&lt;f:lc&gt;</A></TD>
			<TD><!--	Begin lc description -->
			<P>               Convert the tag contents to lower case
			<!--	End lc description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="messageTag.html">&lt;f:message&gt;</A></TD>
			<TD><!--	Begin message description -->
			<P>               Retrieve a message from a message bundle and either write it or store it in a variable
			<!--	End message description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="millisecondsTag.html">&lt;f:milliseconds&gt;</A></TD>
			<TD><!--	Begin milliseconds description -->
			Writes out a current system milliseconds value
			<!--	End milliseconds description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="paramTag.html">&lt;f:param&gt;</A></TD>
			<TD><!--	Begin param description -->
			<P>               Define a parameter value for a containing f:message tag
			<!--	End param description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="replaceAllTag.html">&lt;f:replaceAll&gt;</A></TD>
			<TD><!--	Begin replaceAll description -->
			<P>               Replace all instances of a value in the tag's content with a new value
			<!--	End replaceAll description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="setBundleTag.html">&lt;f:setBundle&gt;</A></TD>
			<TD><!--	Begin setBundle description -->
			<P>               Define the default message bundle to be used by all f:message tags in all JET templates
			<!--	End setBundle description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="setLocaleTag.html">&lt;f:setLocale&gt;</A></TD>
			<TD><!--	Begin setLocale description -->
			<P>               Define the language locale to be used when loading message bundles with the f:bundle and f:setBundle tags
			<!--	End setLocale description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="stripTag.html">&lt;f:strip&gt;</A></TD>
			<TD><!--	Begin strip description -->
			<P>               *** DEPRECATED *** Strip all whitespace from the content
			<!--	End strip description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="ucTag.html">&lt;f:uc&gt;</A></TD>
			<TD><!--	Begin uc description -->
			<P>               Convert the tag contents to upper case
			<!--	End uc description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="uniqueTag.html">&lt;f:unique&gt;</A></TD>
			<TD><!--	Begin unique description -->
			Writes out a unique integer value
			<!--	End unique description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="uuidTag.html">&lt;f:uuid&gt;</A></TD>
			<TD><!--	Begin uuid description -->
			Generate a universally unique identifier (UUID)
			<!--	End uuid description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="xpathTag.html">&lt;f:xpath&gt;</A></TD>
			<TD><!--	Begin xpath description -->
			<P>               Evaluate the specified XPath function on the tag content and write the result in place of the tag content
			<!--	End xpath description -->
			</TD>
		</TR>
	</TBODY>
</TABLE>
<HR>
<TABLE border="1" width="100%">
	<TBODY>
		<TR>
			<TH colspan="2" align="left">Example Directive</TH></TR>
		<TR>
			<TD width="10%"></TD>
			<TD><SPAN style="font-family: sans-serif"><SPAN
				style="font-family: monospace">&lt;%@taglib prefix=&quot;f&quot;
			id=&quot;org.eclipse.jet.formatTags&quot;%&gt;</SPAN></SPAN></TD>
		</TR>
	</TBODY>
</TABLE>
</BODY>
</HTML>

Back to the top