Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-04-07 13:10:50 -0400
committerpelder2006-04-07 13:10:50 -0400
commit7b07dfe2ed6b6674139ee43cb953461acff2b423 (patch)
treea8e612eb607a46cabdb6085157d8e9cba194a7d9 /doc/org.eclipse.jet.doc/references/taglibs/controlTags/iterateTag.html
parent032e8aa206e488d59256d43e0e485f697531126e (diff)
downloadorg.eclipse.jet-7b07dfe2ed6b6674139ee43cb953461acff2b423.tar.gz
org.eclipse.jet-7b07dfe2ed6b6674139ee43cb953461acff2b423.tar.xz
org.eclipse.jet-7b07dfe2ed6b6674139ee43cb953461acff2b423.zip
Add tag documentation and extension point documentation to doc plug-in
Diffstat (limited to 'doc/org.eclipse.jet.doc/references/taglibs/controlTags/iterateTag.html')
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/controlTags/iterateTag.html92
1 files changed, 92 insertions, 0 deletions
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/controlTags/iterateTag.html b/doc/org.eclipse.jet.doc/references/taglibs/controlTags/iterateTag.html
new file mode 100644
index 0000000..02d07ad
--- /dev/null
+++ b/doc/org.eclipse.jet.doc/references/taglibs/controlTags/iterateTag.html
@@ -0,0 +1,92 @@
+<!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">
+<TITLE>&lt;c:iterate&gt; - Standard JET2 Control Tags</TITLE>
+</HEAD>
+<BODY>
+<TABLE border="0" cellpadding="0" cellspacing="1" width="100%">
+ <TBODY>
+ <TR>
+ <TH align="left">
+ <P>&lt;c:iterate&gt;</P></TH>
+ <TH align="right"><A href="overview.html">Standard JET2 Control Tags</A></TH>
+ </TR>
+ </TBODY>
+</TABLE>
+<HR>
+<P><B>iterate</B></P>
+<P><P> Write the tag contents for each in the template input model identified by an XPath expression.<P><P>If the &apos;select&apos; XPath expression selects no objects, then the contents of the tag are not processed. If the XPath expression is not well-formed, then an error results.<P><P>If the 'select' XPath expression returns a number, then the body of the loop is processed that number of times, and the variable named by 'var' is set to 1 for the first iteration, and incremented by one for each successive iteration.<P><P>If there is a variable in scope with the same name as the value &apos;var&apos; attribute, then it is hidden during the execution of this tag.<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;c:iterate select=&quot;<I>value</I>&quot; var=&quot;<I>value</I>&quot;&gt;<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;<I>content to be repeated for each iteration</I><BR>
+ &lt;/c:iterate&gt;
+ </SPAN></TD>
+ </TR>
+ <TR>
+ <TD width="10%">full tag</TD>
+ <TD><SPAN style="font-family: monospace">
+ &lt;c:iterate select=&quot;<I>value</I>&quot; var=&quot;<I>value</I>&quot; delimiter=&quot;<I>value</I>&quot;&gt;<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;<I>content to be repeated for each iteration</I><BR>
+ &lt;/c:iterate&gt;
+ </SPAN></TD>
+ </TR>
+ </TBODY>
+</TABLE>
+<exists node="tag/attribute use='required'">
+<HR>
+<TABLE border="1" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">Required Attributes</TH></TR>
+ <TR>
+ <TD width="10%">select</TD>
+ <TD><BR> An XPath expression that returns either a node set (a collection of elements or attributes) or a number.<BR> </TD>
+ </TR>
+ <TR>
+ <TD width="10%">var</TD>
+ <TD><BR> A variable name. During each iteration, the value of the variable is an object from the set of objects selected by the 'select' XPath expression.<BR> </TD>
+ </TR>
+ </TBODY>
+</TABLE>
+</exists>
+<HR>
+<TABLE border="1" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">Optional Attributes</TH></TR>
+ <TR>
+ <TR>
+ <TD width="10%">delimiter</TD>
+ <TD><BR> A string that is written to the tag's output between iteration of the tag. The text is not written after the last iteration.<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 iterate example -->
+
+ &lt;c:iterate select=&quot;<I>value</I>&quot; var=&quot;<I>value</I>&quot;&gt;<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;<I>content to be repeated for each iteration</I><BR>
+ &lt;/c:iterate&gt;
+<!-- End iterate example -->
+</SPAN></TD>
+ </TR>
+ </TBODY>
+</TABLE>
+<P></P></BODY>
+</HTML>

Back to the top