Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'doc/org.eclipse.jet.doc/references/taglibs/controlTags/includeTag.html')
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/controlTags/includeTag.html95
1 files changed, 0 insertions, 95 deletions
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/controlTags/includeTag.html b/doc/org.eclipse.jet.doc/references/taglibs/controlTags/includeTag.html
deleted file mode 100644
index 620c0f6..0000000
--- a/doc/org.eclipse.jet.doc/references/taglibs/controlTags/includeTag.html
+++ /dev/null
@@ -1,95 +0,0 @@
-<!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;c:include&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:include&gt;</P></TH>
- <TH align="right"><A href="overview.html">Standard JET2 Control Tags</A></TH>
- </TR>
- </TBODY>
-</TABLE>
-<HR>
-<P><B>include</B></P>
-<P><P> Process the referenced template, and include its results in the output of the current template.<P><P>The attribute 'passVariables' allows explicit declaration of the variables that are passed to the template. By default, all context variables are available to the template. With this parameter, only those variables specified are available. In addition, any changes to passed variables in the template are not reflected in the invoking context.<P><P>The deprecated &apos;restoreNames&apos; attribute is useful in recursive transformations. It causes the tag to save the listed variable values prior to executing the template, and then restore them after exectuion.<P><P>The 'restoreNames' and 'passVariables' options are mutually exclusive.<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:include template=&quot;<I>value</I>&quot;/&gt;<br>
- </SPAN></TD>
- </TR>
- <TR>
- <TD width="10%">full tag</TD>
- <TD><SPAN style="font-family: monospace">
- &lt;c:include template=&quot;<I>value</I>&quot; restoreNames=&quot;<I>value</I>&quot; passVariables=&quot;<I>value</I>&quot; super=&quot;<I>value</I>&quot;/&gt;<br>
- </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%">template</TD>
- <TD><BR> A transformation project relative path to the template to execute.<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%">restoreNames</TD>
- <TD><BR> A comma separated list of variable names (without the $ sign). Mutually exclusive with 'passVariables'.<BR> </TD>
- </TR>
- <TR>
- <TD width="10%">passVariables</TD>
- <TD><BR> A comma separated list of variable names (without the $ sign). Mutually exclusive with 'restoreNames'.<BR> </TD>
- </TR>
- <TR>
- <TD width="10%">super</TD>
- <TD><BR> If set to 'true', the template loader attempts to load directly from the overriden transformation (as specified by the 'override' tag or by the 'overrides' attribute of the 'transform' element of the 'org.eclipse.jet.transform' extension in the transforms plugin.xml). If no 'super' template can be found, an error occurs. The default is 'false', indicating normal template loading.<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 include example -->
- &lt;c:include template=&quot;templates/myInclude.jet&quot;/&gt;<br><BR>
-
- &lt;%-- include myInclude.jet from overriden transformation--%&gt;<BR>
- &lt;c:include template=&quot;templates/myInclude.jet&quot; super=&quot;true&quot;/&gt;<br><BR>
-
- &lt;%-- pass only the variables $foo and $bar to myInclude.jet--%&gt;<BR>
- &lt;c:include template=&quot;templates/myInclude.jet&quot; passVariables=&quot;foo,bar&quot;/&gt;<br>
-
-<!-- End include example -->
-</SPAN></TD>
- </TR>
- </TBODY>
-</TABLE>
-<P></P></BODY>
-</HTML>

Back to the top