Skip to main content
summaryrefslogblamecommitdiffstats
blob: be234caef1ad488d444fe9026d514175c75cf5ee (plain) (tree)
1
2
3
4
5
6




                                                                        
                                                                                      
















































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
<!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:invokeTransform&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:invokeTransform&gt;</P></TH>
			<TH align="right"><A href="overview.html">Standard JET2 Control Tags</A></TH>
		</TR>
	</TBODY>
</TABLE>
<HR>
<P><B>invokeTransform</B></P>
<P><P>               Invoke the another transform, passing it the current transform's source model and context variables. The transform's actions will be accumulated, and commit when the invoking transform commits.<P><P>The attribute 'passVariables' allows explicit declaration of the variables that are passed to the transform. By default, all context variables are available. With this parameter, only those variables specified are available. In addition, any changes to passed variables are not reflected in the invoking context.<P><P>The deprecated 'restoreNames' attribute allows for the restoration of variables set by the invoked transform back to their pre-invocation value.<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:invokeTransform transformId=&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:invokeTransform transformId=&quot;<I>value</I>&quot; restoreNames=&quot;<I>value</I>&quot; passVariables=&quot;<I>value</I>&quot;/&gt;<br>
			</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%">transformId</TD>
			<TD><BR>                  The transform id of the transform to invoke.<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%">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>
	</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 invokeTransform example -->

			&lt;c:invokeTransform transformId=&quot;<I>value</I>&quot;/&gt;<br>
<!-- End invokeTransform example -->
</SPAN></TD>
		</TR>
	</TBODY>
</TABLE>
<P></P></BODY>
</HTML>

Back to the top