Skip to main content
summaryrefslogblamecommitdiffstats
blob: 69086eaf16f8a3e1b3ac104ab95a443d7d7901f1 (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:load&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:load&gt;</P></TH>
			<TH align="right"><A href="overview.html">Standard JET2 Control Tags</A></TH>
		</TR>
	</TBODY>
</TABLE>
<HR>
<P><B>load</B></P>
<P><P>               Load the referenced model, and set the passed variable to the loaded document root.<P><P>The optional urlContext attribute determines how relative URL in the url attribute are resolved. Predefined constants: 'transform', indicating that URL is relative to the root directory of the transformation; 'workspace', indicating the URL is relative to the current Eclipse workspace.<P><P>The optional loader attribute determines which loader is used to load the model. The default loader is 'emf', although other loaders may have been contributed.<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:load url=&quot;<I>value</I>&quot; var=&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:load url=&quot;<I>value</I>&quot; var=&quot;<I>value</I>&quot; urlContext=&quot;<I>value</I>&quot; loader=&quot;<I>value</I>&quot; type=&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%">url</TD>
			<TD><BR>                  The URL of the model to load. Usually, this is a relative URL, and is interpretation is controlled by the urlContext attribute.<BR>               </TD>
		</TR>
		<TR>
			<TD width="10%">var</TD>
			<TD><BR>                  A variable name. The root of the loaded document is set to this variable.<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%">urlContext</TD>
			<TD><BR>                  A url context constant. See tag comments for possible values. The default is 'transform'.<BR>               </TD>
		</TR>
		<TR>
			<TD width="10%">loader</TD>
			<TD><BR>                  A constant defining the loader to use. The default is determined by the system, depending upon the value of 'type' if specified, or the extension specified on 'url'.<BR>               </TD>
		</TR>
		<TR>
			<TD width="10%">type</TD>
			<TD><BR>                  The type (typically the extension) of the model. That may be required if the URL does not have a standard extension.<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 load example -->

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

Back to the top