Skip to main content
summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorpelder2008-04-28 15:35:24 -0400
committerpelder2008-04-28 15:35:24 -0400
commit1d9958f895f9125728a27eea5ac698a5f126c766 (patch)
treeeb6a3e026f01a09c39dd6fb4a0e3e4a34c2d64b0 /doc
parent235d78e10b1fbb70cfa9f6b14a8bd685fa1fdffd (diff)
downloadorg.eclipse.jet-1d9958f895f9125728a27eea5ac698a5f126c766.tar.gz
org.eclipse.jet-1d9958f895f9125728a27eea5ac698a5f126c766.tar.xz
org.eclipse.jet-1d9958f895f9125728a27eea5ac698a5f126c766.zip
[191228] Provide tools to aid in indenting generated content.
Diffstat (limited to 'doc')
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/formatTags/indentTag.html89
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/formatTags/overview.html7
-rw-r--r--doc/org.eclipse.jet.doc/tocformatTags.xml1
3 files changed, 97 insertions, 0 deletions
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/indentTag.html b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/indentTag.html
new file mode 100644
index 0000000..5241cdc
--- /dev/null
+++ b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/indentTag.html
@@ -0,0 +1,89 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+<HEAD>
+<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<META name="GENERATOR" content="IBM Software Development Platform">
+<link rel="STYLESHEET" href="../../../book.css" charset="ISO-8859-1" type="text/css"/>
+<TITLE>&lt;f:indent&gt; - Standard JET2 Format Tags</TITLE>
+</HEAD>
+<BODY>
+<TABLE border="0" cellpadding="0" cellspacing="1" width="100%">
+ <TBODY>
+ <TR>
+ <TH align="left">
+ <P>&lt;f:indent&gt;</P></TH>
+ <TH align="right"><A href="overview.html">Standard JET2 Format Tags</A></TH>
+ </TR>
+ </TBODY>
+</TABLE>
+<HR>
+<P><B>indent</B></P>
+<P><P> Indent the tag contents the specified number of times.<P> </P>
+<HR>
+<TABLE border="1" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">Tag Summary</TH></TR>
+ <TR>
+ <TD width="10%">required</TD>
+ <TD><SPAN style="font-family: monospace">
+ &lt;f:indent text=&quot;<I>value</I>&quot;&gt;<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;<I>content consumed by tag evaluation</I><BR>
+ &lt;/f:indent&gt;
+ </SPAN></TD>
+ </TR>
+ <TR>
+ <TD width="10%">full tag</TD>
+ <TD><SPAN style="font-family: monospace">
+ &lt;f:indent text=&quot;<I>value</I>&quot; depth=&quot;<I>value</I>&quot;&gt;<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;<I>content consumed by tag evaluation</I><BR>
+ &lt;/f:indent&gt;
+ </SPAN></TD>
+ </TR>
+ </TBODY>
+</TABLE>
+<HR>
+<TABLE border="1" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">Required Attributes</TH></TR>
+ <TR>
+ <TD width="10%">text</TD>
+ <TD><BR> Specifies the indentation text.<BR> </TD>
+ </TR>
+ </TBODY>
+</TABLE>
+<HR>
+<TABLE border="1" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">Optional Attributes</TH></TR>
+ <TR>
+ <TR>
+ <TD width="10%">depth</TD>
+ <TD><BR> Specify the depth of indentation. The text specified in the text attribute is inserted the number of times specified by depth. Default value is one (1).<BR> </TD>
+ </TR>
+ </TBODY>
+</TABLE>
+<HR>
+<TABLE border="1" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">Example</TH></TR>
+ <TR>
+ <TD width="10%"></TD>
+ <TD><SPAN style="font-family: monospace">
+<!-- Begin indent example -->
+ &lt;%--Wrap text in Java/C++ style comment--%&gt;<br>
+ &lt;f:indent text=&quot;&nbsp;&nbsp;&nbsp;&nbsp;&quot; depth="2"&gt;<br>
+ /*<br>
+ &lt;f:indent text=" * "&gt;&lt;c:get select="$myModel/@description"/&gt;&lt;/f:indent&gt;<br>
+ &nbsp;*/<br>
+ &lt;/f:indent&gt;
+<!-- End indent example -->
+</SPAN></TD>
+ </TR>
+ </TBODY>
+</TABLE>
+<P></P></BODY>
+</HTML>
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/overview.html b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/overview.html
index 0103933..b9ee76c 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/overview.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/overview.html
@@ -32,6 +32,13 @@
</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
diff --git a/doc/org.eclipse.jet.doc/tocformatTags.xml b/doc/org.eclipse.jet.doc/tocformatTags.xml
index 9ce4fb9..3ae4997 100644
--- a/doc/org.eclipse.jet.doc/tocformatTags.xml
+++ b/doc/org.eclipse.jet.doc/tocformatTags.xml
@@ -4,6 +4,7 @@
<toc label="Standard JET2 Format Tags" link_to="toc.xml#tagReference">
<topic label="Standard JET2 Format Tags" href="references/taglibs/formatTags/overview.html" >
<topic label="f:formatNow" href="references/taglibs/formatTags/formatNowTag.html"/>
+ <topic label="f:indent" href="references/taglibs/formatTags/indentTag.html"/>
<topic label="f:lc" href="references/taglibs/formatTags/lcTag.html"/>
<topic label="f:milliseconds" href="references/taglibs/formatTags/millisecondsTag.html"/>
<topic label="f:replaceAll" href="references/taglibs/formatTags/replaceAllTag.html"/>

Back to the top