summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-09-19 13:37:23 (EDT)
committer pelder2006-09-19 13:37:23 (EDT)
commitda096111716d7c3be2e21ffc4115a777696f7e80 (patch)
tree1c96c21bf7f529d0ed3bd4aa42427ef674573f57
parent464c72b90d59db460653579b1269712a9cdbe72e (diff)
downloadorg.eclipse.jet-da096111716d7c3be2e21ffc4115a777696f7e80.zip
org.eclipse.jet-da096111716d7c3be2e21ffc4115a777696f7e80.tar.gz
org.eclipse.jet-da096111716d7c3be2e21ffc4115a777696f7e80.tar.bz2
[157811] Add examples to formatTags
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/formatTags/formatNowTag.html3
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/formatTags/lcTag.html5
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/formatTags/millisecondsTag.html2
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/formatTags/replaceAllTag.html12
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/formatTags/stripTag.html3
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/formatTags/ucTag.html5
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/formatTags/uniqueTag.html4
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/formatTags/uuidTag.html1
8 files changed, 23 insertions, 12 deletions
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/formatNowTag.html b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/formatNowTag.html
index 91be691..cae1497 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/formatNowTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/formatNowTag.html
@@ -60,7 +60,8 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin formatNow example -->
- &lt;f:formatNow pattern=&quot;<I>value</I>&quot;/&gt;<br>
+ &lt;f:formatNow pattern=&quot;<I>MM/dd/yyyy : EEE</I>&quot; /&gt;<br>
+ <P>This formatNow tag would write out a time formatted like "01/29/2006 : Sun"</P>
<!-- End formatNow example -->
</SPAN></TD>
</TR>
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/lcTag.html b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/lcTag.html
index f88681c..a4022ca 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/lcTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/lcTag.html
@@ -76,9 +76,8 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin lc example -->
- &lt;f:lc&gt;<br>
- &nbsp;&nbsp;&nbsp;&nbsp;<I>content consumed by tag evaluation</I><BR>
- &lt;/f:lc&gt;
+ &lt;%-- This will result in 'upper' --%&gt;<BR>
+ &lt;f:lc&gt;UPPER&lt;/f:lc&gt;
<!-- End lc example -->
</SPAN></TD>
</TR>
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/millisecondsTag.html b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/millisecondsTag.html
index 7880406..511da24 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/millisecondsTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/millisecondsTag.html
@@ -56,8 +56,8 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin milliseconds example -->
+ &lt;%-- this will produce something like 1138570287475 --%&gt;
&lt;f:milliseconds/&gt;<br>
-<!-- End milliseconds example -->
</SPAN></TD>
</TR>
</TBODY>
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/replaceAllTag.html b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/replaceAllTag.html
index 1214df7..98d2387 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/replaceAllTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/replaceAllTag.html
@@ -80,9 +80,15 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin replaceAll example -->
- &lt;f:replaceAll value=&quot;<I>value</I>&quot; replacement=&quot;<I>value</I>&quot;&gt;<br>
- &nbsp;&nbsp;&nbsp;&nbsp;<I>content consumed by tag evaluation</I><BR>
- &lt;/f:replaceAll&gt;
+ &lt;%-- This will result in a/b/c--%&gt;<BR>
+ &lt;f:replaceAll value=&quot;.&quot; replacement=&quot;/&quot;&gt;<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;a.b.c</I><BR>
+ &lt;/f:replaceAll&gt;<BR><BR>
+
+ &lt;%-- This will result in ///// --%&gt;<BR>
+ &lt;f:replaceAll value=&quot;.&quot; replacement=&quot;/&quot; regex=&quot;true&quot;&gt;<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;a.b.c</I><BR>
+ &lt;/f:replaceAll&gt;<BR><BR>
<!-- End replaceAll example -->
</SPAN></TD>
</TR>
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/stripTag.html b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/stripTag.html
index b3eb639..f47af90 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/stripTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/stripTag.html
@@ -60,8 +60,9 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin strip example -->
+ &lt;%-- This will result 'abc' --%&gt;<BR>
&lt;f:strip&gt;<br>
- &nbsp;&nbsp;&nbsp;&nbsp;<I>content consumed by tag evaluation</I><BR>
+ &nbsp;&nbsp;&nbsp;&nbsp;a b c <BR>
&lt;/f:strip&gt;
<!-- End strip example -->
</SPAN></TD>
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/ucTag.html b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/ucTag.html
index be5589b..370ff26 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/ucTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/ucTag.html
@@ -76,9 +76,8 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin uc example -->
- &lt;f:uc&gt;<br>
- &nbsp;&nbsp;&nbsp;&nbsp;<I>content consumed by tag evaluation</I><BR>
- &lt;/f:uc&gt;
+ &lt;%-- This will result in 'LOWER' --%&gt;<BR>
+ &lt;f:uc&gt;lower&lt;/f:uc&gt;
<!-- End uc example -->
</SPAN></TD>
</TR>
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/uniqueTag.html b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/uniqueTag.html
index 3f41a8c..0fa4cba 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/uniqueTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/uniqueTag.html
@@ -56,6 +56,10 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin unique example -->
+ &lt;%-- if this is the first time this is used, 1 will be returned --%&gt;<BR>
+ &lt;f:unique/&gt;<br><BR>
+
+ &lt;%-- if the above retuned 1 this will return 2 --%&gt;<BR>
&lt;f:unique/&gt;<br>
<!-- End unique example -->
</SPAN></TD>
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/uuidTag.html b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/uuidTag.html
index c6d95a5..dc77005 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/uuidTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/uuidTag.html
@@ -56,6 +56,7 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin uuid example -->
+ &lt;%-- This will return a unique string something like: _e_GS4EgEEdugkoUy0CmRoA --%&gt;<BR>
&lt;f:uuid/&gt;<br>
<!-- End uuid example -->
</SPAN></TD>