You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by pi...@apache.org on 2001/12/12 22:11:32 UTC
cvs commit: jakarta-taglibs/standard/examples/web/iterators index.html
pierred 01/12/12 13:11:32
Modified: standard/examples/web/conditionals index.html
standard/examples/web/elsupport index.html
standard/examples/web/iterators index.html
Log:
Removed client side JavaScript for mouseOver
Revision Changes Path
1.4 +3 -9 jakarta-taglibs/standard/examples/web/conditionals/index.html
Index: index.html
===================================================================
RCS file: /home/cvs/jakarta-taglibs/standard/examples/web/conditionals/index.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- index.html 2001/11/21 20:05:04 1.3
+++ index.html 2001/12/12 21:11:32 1.4
@@ -5,13 +5,7 @@
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../global.css" type="text/css">
-<script language="JavaScript">
-<!--
-function MM_callJS(jsStr) { //v2.0
- return eval(jsStr)
-}
-//-->
-</script></head>
+</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" border="0" cellpadding="5">
@@ -38,12 +32,12 @@
<a href="If.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a>
</h3>
Only shows a customer from the customer list if the last name is "Howe".<br>
-<h3> <choose> Mutually Exclusive Conditional Execution <a href="../ShowSource.jsp?filename=/conditionals/Choose.jsp"><img src="../images/code.gif" width="24" height="24" onMouseDown="MM_callJS('showJspCode(\"Simple2.jsp\")')" border="0"></a>
+<h3> <choose> Mutually Exclusive Conditional Execution <a href="../ShowSource.jsp?filename=/conditionals/Choose.jsp"><img src="../images/code.gif" width="24" height="24"" border="0"></a>
<a href="Choose.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a>
</h3>
<p>Customers from the USA will be printed in blue, those from Canada in red, and
others in green.</p>
-<h3>Custom Logic Tag <a href="../ShowSource.jsp?filename=/conditionals/CustomLogicTag.jsp"><img src="../images/code.gif" width="24" height="24" onMouseDown="MM_callJS('showJspCode(\"Simple2.jsp\")')" border="0"></a> <a href="CustomLogicTag.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a></h3>
+<h3>Custom Logic Tag <a href="../ShowSource.jsp?filename=/conditionals/CustomLogicTag.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a> <a href="CustomLogicTag.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a></h3>
<p>JSTL exposes in its API the abstract class ConditionalTagSupport to facilitate
the implementation of custom conditional tags that leverage the standard conditional
behavior defined in JSTL. This example shows custom tag <usCustomer> that
1.4 +3 -9 jakarta-taglibs/standard/examples/web/elsupport/index.html
Index: index.html
===================================================================
RCS file: /home/cvs/jakarta-taglibs/standard/examples/web/elsupport/index.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- index.html 2001/11/21 20:05:04 1.3
+++ index.html 2001/12/12 21:11:32 1.4
@@ -5,13 +5,7 @@
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../global.css" type="text/css">
-<script language="JavaScript">
-<!--
-function MM_callJS(jsStr) { //v2.0
- return eval(jsStr)
-}
-//-->
-</script></head>
+</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" border="0" cellpadding="5">
@@ -39,11 +33,11 @@
</h3>
This example features <expr> used with default values using the default
attribute as well as the tag's body content. <br>
-<h3> <set> <a href="../ShowSource.jsp?filename=/elsupport/Set.jsp"><img src="../images/code.gif" width="24" height="24" onMouseDown="MM_callJS('showJspCode(\"Simple2.jsp\")')" border="0"></a>
+<h3> <set> <a href="../ShowSource.jsp?filename=/elsupport/Set.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a>
<a href="../elsupport/Set.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a></h3>
<p>We set the value of an application scope attribute from the <set> tag
body content. This application scope variable is then used in a second JSP page.</p>
-<h3><declare> <a href="../ShowSource.jsp?filename=/elsupport/Declare.jsp"><img src="../images/code.gif" width="24" height="24" onMouseDown="MM_callJS('showJspCode(\"Simple2.jsp\")')" border="0"></a>
+<h3><declare> <a href="../ShowSource.jsp?filename=/elsupport/Declare.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a>
<a href="../elsupport/Declare.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a></h3>
<p>In order for JSTL tags to collaborate with custom tags that only accept rtexprvalues,
the <declare> tag must be used to create a scripting variable. In this
1.4 +6 -12 jakarta-taglibs/standard/examples/web/iterators/index.html
Index: index.html
===================================================================
RCS file: /home/cvs/jakarta-taglibs/standard/examples/web/iterators/index.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- index.html 2001/11/21 20:05:05 1.3
+++ index.html 2001/12/12 21:11:32 1.4
@@ -5,13 +5,7 @@
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../global.css" type="text/css">
-<script language="JavaScript">
-<!--
-function MM_callJS(jsStr) { //v2.0
- return eval(jsStr)
-}
-//-->
-</script></head>
+</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" border="0" cellpadding="5">
@@ -39,7 +33,7 @@
</h3>
Simply displays the default <code>toString()</code> value of the items in the
<code>Customers</code> collection.<br>
-<h3> Range <a href="../ShowSource.jsp?filename=/iterators/SimpleRange.jsp"><img src="../images/code.gif" width="24" height="24" onMouseDown="MM_callJS('showJspCode(\"Simple2.jsp\")')" border="0"></a>
+<h3> Range <a href="../ShowSource.jsp?filename=/iterators/SimpleRange.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a>
<a href="SimpleRange.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a>
</h3>
<p>Another simple example. Similar to the previous one, except that in this case
@@ -48,19 +42,19 @@
the range attributes must be used to iterate a specific number of times over
the tag's body. In this example, we simply iterate over the integer values specified
by the range attributes.</p>
-<h3>Data Types <a href="../ShowSource.jsp?filename=/iterators/DataTypes.jsp"><img src="../images/code.gif" width="24" height="24" onMouseDown="MM_callJS('showJspCode(\"Simple2.jsp\")')" border="0"></a> <a href="DataTypes.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a></h3>
+<h3>Data Types <a href="../ShowSource.jsp?filename=/iterators/DataTypes.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a> <a href="DataTypes.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a></h3>
<p>The <code><forEach></code> tag supports a large number of data types
for the collection of objects to iterate over. In this example, we feature the
following data types: array of primitives, array of objects, Enumeration, Properties
(Map), String (Comma Separated Values).</p>
-<h3>Iteration Status <a href="../ShowSource.jsp?filename=/iterators/Status.jsp"><img src="../images/code.gif" width="24" height="24" onMouseDown="MM_callJS('showJspCode(\"Simple2.jsp\")')" border="0"></a> <a href="Status.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a></h3>
+<h3>Iteration Status <a href="../ShowSource.jsp?filename=/iterators/Status.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a> <a href="Status.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a></h3>
<p>The iterator tag exposes a wealth of information relative to the iteration
taking place. This example features some of that status information.</p>
-<h3>Collaboration <a href="../ShowSource.jsp?filename=/iterators/Collaboration.jsp"><img src="../images/code.gif" width="24" height="24" onMouseDown="MM_callJS('showJspCode(\"Simple2.jsp\")')" border="0"></a> <a href="Collaboration.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a></h3>
+<h3>Collaboration <a href="../ShowSource.jsp?filename=/iterators/Collaboration.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a> <a href="Collaboration.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a></h3>
<p>The iterator tags expose interface IteratorTag to allow custom tags to establish
implicit collaboration. This example shows two custom tags, <even> and
<odd> who take advantage of this implicit collaboration.</p>
-<h3><forTokens> <a href="../ShowSource.jsp?filename=/iterators/ForTokens.jsp"><img src="../images/code.gif" width="24" height="24" onMouseDown="MM_callJS('showJspCode(\"Simple2.jsp\")')" border="0"></a> <a href="ForTokens.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a></h3>
+<h3><forTokens> <a href="../ShowSource.jsp?filename=/iterators/ForTokens.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a> <a href="ForTokens.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a></h3>
<p>The <forEach> tag provides the basic iteration capabilities. <forTokens>
is a specialization for the handling of Strings of tokens. Essentially the same
as <forEach>, except that it only applies to Strings of tokens and that
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>