Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2010-11-02 16:43:58 -0400
committerpelder2010-11-02 16:43:58 -0400
commit4c6c9ff3bb1d821f73ed3c3703c545a99d6c07fc (patch)
tree7b53d650e546f121613c0e080ea89f3789f177b2 /doc/org.eclipse.jet.doc/references/taglibs/controlTags/setTag.html
parent15ccba1e74a55349bdce44c7e99858795f7925b1 (diff)
downloadorg.eclipse.jet-4c6c9ff3bb1d821f73ed3c3703c545a99d6c07fc.tar.gz
org.eclipse.jet-4c6c9ff3bb1d821f73ed3c3703c545a99d6c07fc.tar.xz
org.eclipse.jet-4c6c9ff3bb1d821f73ed3c3703c545a99d6c07fc.zip
This commit was manufactured by cvs2svn to create tag 'v201011021646'.v201011021646
Diffstat (limited to 'doc/org.eclipse.jet.doc/references/taglibs/controlTags/setTag.html')
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/controlTags/setTag.html79
1 files changed, 0 insertions, 79 deletions
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/controlTags/setTag.html b/doc/org.eclipse.jet.doc/references/taglibs/controlTags/setTag.html
deleted file mode 100644
index 75cc55a..0000000
--- a/doc/org.eclipse.jet.doc/references/taglibs/controlTags/setTag.html
+++ /dev/null
@@ -1,79 +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:set&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:set&gt;</P></TH>
- <TH align="right"><A href="overview.html">Standard JET2 Control Tags</A></TH>
- </TR>
- </TBODY>
-</TABLE>
-<HR>
-<P><B>set</B></P>
-<P><P> Set an attribute on an object selected by an XPath expression. The value of the attribute is determined by the contents of the tag.<P><P>If the XPath expression results in more than one object being selected, then that attribute is created on only the first selected object. <P><P>If the XPath expression does not select an object, or if the XPath expression is malformed, then an error occurs.<P><P>The 'name' attribute need not refer to an attribute defined on the selected object. If the attribute does not exist, one is created dynamically. Such dynamically created attributes are not permanent - they are destroyed when the JET2Context object passed to the template is destroyed.<P><P>If the 'name' attribute refers to an existing attribute on the selected object, then the tag attempts to convert the string contents of this tag to the appropriate attribute data type. If this conversion fails, then an error occurs.<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:set select=&quot;<I>value</I>&quot; name=&quot;<I>value</I>&quot;&gt;<br>
- &nbsp;&nbsp;&nbsp;&nbsp;<I>content to be written</I><BR>
- &lt;/c:set&gt;
- </SPAN></TD>
- </TR>
- <TR>
- <TD width="10%">full tag</TD>
- <TD><SPAN style="font-family: monospace">
- &lt;c:set select=&quot;<I>value</I>&quot; name=&quot;<I>value</I>&quot;&gt;<br>
- &nbsp;&nbsp;&nbsp;&nbsp;<I>content to be written</I><BR>
- &lt;/c:set&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%">select</TD>
- <TD><BR> The XPath expression to evaluate.<BR> </TD>
- </TR>
- <TR>
- <TD width="10%">name</TD>
- <TD><BR> The name of the attribute to set or create and set.<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 set example -->
- &lt;%-- create or update an attribute name-length on element $var --%&gt;
- &lt;c:set select=&quot;$var&quot; name=&quot;name-length&quot;&gt;<br>
- &lt;c:get select="string-length(local-name($var))"/&gt;<BR>
- &lt;/c:set&gt;
-<!-- End set example -->
-</SPAN></TD>
- </TR>
- </TBODY>
-</TABLE>
-<P></P></BODY>
-</HTML>

Back to the top