jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pier...@apache.org
Subject cvs commit: jakarta-taglibs/standard/src/org/apache/taglibs/standard/functions Functions.java
Date Tue, 18 Mar 2003 23:00:49 GMT
pierred     2003/03/18 15:00:49

  Modified:    standard/examples/web index.html
               standard/examples/web/Templates ExamplesTemplate.dwt
               standard/examples/web/conditionals index.html
               standard/examples/web/elsupport index.html
               standard/examples/web/format index.html
               standard/examples/web/import index.html index.jsp
               standard/examples/web/iterators index.html
               standard/examples/web/misc index.html
               standard/examples/web/sql index.jsp
               standard/examples/web/tlv index.html
               standard/examples/web/xml index.html
  Added:       standard/examples/web/functions Functions.jsp index.html
               standard/src/org/apache/taglibs/standard/functions
                        Functions.java
  Log:
  First preliminary commit for functions... much more to come...
  
  Revision  Changes    Path
  1.20      +12 -11    jakarta-taglibs/standard/examples/web/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/examples/web/index.html,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- index.html	23 Jan 2003 23:10:28 -0000	1.19
  +++ index.html	18 Mar 2003 23:00:45 -0000	1.20
  @@ -1,12 +1,12 @@
  -<html>
  -<!-- #BeginTemplate "/Templates/ExamplesTemplate.dwt" --> 
  +<html><!-- #BeginTemplate "/Templates/ExamplesTemplate.dwt" -->
   <head>
   <!-- #BeginEditable "doctitle" --> 
   <title>JSTL: Examples Web Application</title>
  -<!-- #EndEditable --> 
  +<!-- #EndEditable -->
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <link rel="stylesheet" href="global.css" type="text/css">
   </head>
  +
   <body bgcolor="#FFFFFF" text="#000000">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  @@ -17,11 +17,13 @@
     </tr>
     <tr> 
       <td bgcolor="#CCCCFF"><font size="-1">Examples &nbsp;&nbsp;&nbsp;&nbsp;<a
href="index.html">Introduction</a> 
  -      &#149; <a href="elsupport/index.html">General Purpose</a> &#149;
<a href="conditionals/index.html">Conditionals</a> 
  -      &#149; <a href="iterators/index.html">Iterators</a> &#149; <a
href="import/index.jsp">Import</a> 
  -      &#149; <a href="format/index.html">I18N & Formatting</a> &#149;
<a href="xml/index.html">XML</a> 
  -      &#149; <a href="sql/index.jsp">SQL</a> &#149; <a href="tlv/index.html">TLV</a>

  -      &#149; <a href="misc/index.html"></a><a href="misc/index.html">Misc.</a></font></td>
  +      &#149; <a href="elsupport/index.html">General Purpose</a> 
  +      &#149; <a href="conditionals/index.html">Conditionals</a> 
  +      &#149; <a href="iterators/index.html">Iterators</a> &#149; 
  +      <a href="import/index.jsp">Import</a> &#149; <a href="format/index.html">I18N

  +      & Formatting</a> &#149; <a href="xml/index.html">XML</a>

  +      &#149; <a href="sql/index.jsp">SQL</a> &#149; <a href="functions/index.html">Functions</a>

  +      &#149; <a href="tlv/index.html">TLV</a> &#149; <a href="functions/index.html"></a><a
href="misc/index.html">Misc.</a></font></td>
     </tr>
   </table>
   <!-- #BeginEditable "body" --> 
  @@ -124,7 +126,7 @@
       </ul>
     </li>
   </ul>
  -<!-- #EndEditable --> 
  +<!-- #EndEditable -->
   <hr noshade color="#000099">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  @@ -135,5 +137,4 @@
     </tr>
   </table>
   </body>
  -<!-- #EndTemplate -->
  -</html>
  +<!-- #EndTemplate --></html>
  
  
  
  1.11      +4 -3      jakarta-taglibs/standard/examples/web/Templates/ExamplesTemplate.dwt
  
  Index: ExamplesTemplate.dwt
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/examples/web/Templates/ExamplesTemplate.dwt,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ExamplesTemplate.dwt	14 Dec 2002 00:56:53 -0000	1.10
  +++ ExamplesTemplate.dwt	18 Mar 2003 23:00:46 -0000	1.11
  @@ -10,7 +10,7 @@
   <body bgcolor="#FFFFFF" text="#000000">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  -    <td height="0"><font color="#000099"><b>standard taglib3 &#149;
implementation 
  +    <td height="0"><font color="#000099"><b>standard taglib &#149;
implementation 
         of the JSP Standard Tag Library &#149; </b></font><font color="#003399"><a
href="mailto:taglibs-user@jakarta.apache.org"><b>support</b></a> 
         &nbsp;&nbsp;<b><a href="mailto:taglibs-dev@jakarta.apache.org">development</a>&nbsp;&nbsp;

         <a href="mailto:jsr-52-comments@jcp.org">comments to JSR-52</a></b></font></td>
  @@ -20,14 +20,15 @@
         &#149; <a href="../elsupport/index.html">General Purpose</a> &#149;
<a href="../conditionals/index.html">Conditionals</a> 
         &#149; <a href="../iterators/index.html">Iterators</a> &#149;
<a href="../import/index.jsp">Import</a> 
         &#149; <a href="../format/index.html">I18N & Formatting</a> &#149;
<a href="../xml/index.html">XML</a> 
  -      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../misc/index.html">Misc.</a></font></td>
  +      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../functions/index.html">Functions</a>

  +      &#149; <a href="../tlv/index.html">TLV</a> &#149; <a href="../misc/index.html"></a><a
href="../misc/index.html">Misc.</a></font></td>
     </tr>
   </table>
   <!-- #BeginEditable "body" -->{body}<!-- #EndEditable -->
   <hr noshade color="#000099">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  -    <td height="24"><font color="#000099"><b>standard taglib2 &#149;
implementation 
  +    <td height="24"><font color="#000099"><b>standard taglib &#149;
implementation 
         of the JSP Standard Tag Library &#149; </b></font><font color="#003399"><a
href="mailto:taglibs-user@jakarta.apache.org"><b>support</b></a> 
         &nbsp;&nbsp;<b><a href="mailto:taglibs-dev@jakarta.apache.org">development</a>&nbsp;&nbsp;

         <a href="mailto:jsr-52-comments@jcp.org">comments to JSR-52</a></b></font></td>
  
  
  
  1.13      +2 -2      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.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- index.html	14 Dec 2002 00:56:53 -0000	1.12
  +++ index.html	18 Mar 2003 23:00:46 -0000	1.13
  @@ -22,8 +22,8 @@
         &#149; <a href="../iterators/index.html">Iterators</a> &#149;

         <a href="../import/index.jsp">Import</a> &#149; <a href="../format/index.html">I18N

         & Formatting</a> &#149; <a href="../xml/index.html">XML</a>

  -      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../tlv/index.html">TLV</a>

  -      &#149; <a href="../misc/index.html"></a><a href="../misc/index.html">Misc.</a></font></td>
  +      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../functions/index.html">Functions</a>

  +      &#149; <a href="../tlv/index.html">TLV</a> &#149; <a href="../functions/index.html"></a><a
href="../misc/index.html">Misc.</a></font></td>
     </tr>
   </table>
   <!-- #BeginEditable "body" --> 
  
  
  
  1.15      +2 -2      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.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- index.html	14 Dec 2002 00:56:53 -0000	1.14
  +++ index.html	18 Mar 2003 23:00:46 -0000	1.15
  @@ -22,8 +22,8 @@
         &#149; <a href="../iterators/index.html">Iterators</a> &#149;

         <a href="../import/index.jsp">Import</a> &#149; <a href="../format/index.html">I18N

         & Formatting</a> &#149; <a href="../xml/index.html">XML</a>

  -      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../tlv/index.html">TLV</a>

  -      &#149; <a href="../misc/index.html"></a><a href="../misc/index.html">Misc.</a></font></td>
  +      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../functions/index.html">Functions</a>

  +      &#149; <a href="../tlv/index.html">TLV</a> &#149; <a href="../functions/index.html"></a><a
href="../misc/index.html">Misc.</a></font></td>
     </tr>
   </table>
   <!-- #BeginEditable "body" --> 
  
  
  
  1.18      +2 -2      jakarta-taglibs/standard/examples/web/format/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/examples/web/format/index.html,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- index.html	14 Dec 2002 00:56:53 -0000	1.17
  +++ index.html	18 Mar 2003 23:00:46 -0000	1.18
  @@ -22,8 +22,8 @@
         &#149; <a href="../iterators/index.html">Iterators</a> &#149;

         <a href="../import/index.jsp">Import</a> &#149; <a href="index.html">I18N

         & Formatting</a> &#149; <a href="../xml/index.html">XML</a>

  -      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../tlv/index.html">TLV</a>

  -      &#149; <a href="../misc/index.html"></a><a href="../misc/index.html">Misc.</a></font></td>
  +      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../functions/index.html">Functions</a>

  +      &#149; <a href="../tlv/index.html">TLV</a> &#149; <a href="../functions/index.html"></a><a
href="../misc/index.html">Misc.</a></font></td>
     </tr>
   </table>
   <!-- #BeginEditable "body" --> 
  
  
  
  1.1                  jakarta-taglibs/standard/examples/web/functions/Functions.jsp
  
  Index: Functions.jsp
  ===================================================================
  <%@ taglib prefix="c" uri="http://java.sun.com/jstl-el/core" %>
  <%@ taglib prefix="fn" uri="http://java.sun.com/jstl-el/functions" %>
  
  <html>
  <head>
    <title>JSTL: Functions</title>
  </head>
  <body bgcolor="#FFFFFF">
  
  <c:set var="s1" value="Tanenbaum, David"/>
  
  <h4>fn:toLowerCase</h4>
  Before: ${s1} <br>
  After:  ${fn:toLowerCase(s1)}
  
  <h4>fn:toUpperCase</h4>
  Before: ${s1} <br>
  After:  ${fn:toUpperCase(s1)}
  
  </body>
  </html>
  
  
  
  1.1                  jakarta-taglibs/standard/examples/web/functions/index.html
  
  Index: index.html
  ===================================================================
  <html><!-- #BeginTemplate "/Templates/ExamplesTemplate.dwt" -->
  <head>
  <!-- #BeginEditable "doctitle" --> 
  <title>JSTL: Iterator Tags Examples</title>
  <!-- #EndEditable -->
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <link rel="stylesheet" href="../global.css" type="text/css">
  </head>
  
  <body bgcolor="#FFFFFF" text="#000000">
  <table width="100%" border="0" cellpadding="5">
    <tr> 
      <td height="0"><font color="#000099"><b>standard taglib &#149;
implementation 
        of the JSP Standard Tag Library &#149; </b></font><font color="#003399"><a
href="mailto:taglibs-user@jakarta.apache.org"><b>support</b></a> 
        &nbsp;&nbsp;<b><a href="mailto:taglibs-dev@jakarta.apache.org">development</a>&nbsp;&nbsp;

        <a href="mailto:jsr-52-comments@jcp.org">comments to JSR-52</a></b></font></td>
    </tr>
    <tr> 
      <td bgcolor="#CCCCFF"><font size="-1">Examples &nbsp;&nbsp;&nbsp;&nbsp;<a
href="../index.html">Introduction</a> 
        &#149; <a href="../elsupport/index.html">General Purpose</a> 
        &#149; <a href="../conditionals/index.html">Conditionals</a> 
        &#149; <a href="../iterators/index.html">Iterators</a> &#149;

        <a href="../import/index.jsp">Import</a> &#149; <a href="../format/index.html">I18N

        & Formatting</a> &#149; <a href="../xml/index.html">XML</a>

        &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="index.html">Functions</a>

        &#149; <a href="../tlv/index.html">TLV</a> &#149; <a href="index.html"></a><a
href="../misc/index.html">Misc.</a></font></td>
    </tr>
  </table>
  <!-- #BeginEditable "body" --> 
  <h2>Functions Examples</h2>
  <h3>Functions&nbsp;&nbsp; <a href="../ShowSource.jsp?filename=/functions/Functions.jsp"><img
src="../images/code.gif" width="24" height="24" border="0"></a> 
    <a href="Functions.jsp"><img src="../images/execute.gif" width="24" height="24"
border="0"></a> 
  </h3>
  Simple examples of functions.<br>
  <!-- #EndEditable -->
  <hr noshade color="#000099">
  <table width="100%" border="0" cellpadding="5">
    <tr> 
      <td height="24"><font color="#000099"><b>standard taglib &#149;
implementation 
        of the JSP Standard Tag Library &#149; </b></font><font color="#003399"><a
href="mailto:taglibs-user@jakarta.apache.org"><b>support</b></a> 
        &nbsp;&nbsp;<b><a href="mailto:taglibs-dev@jakarta.apache.org">development</a>&nbsp;&nbsp;

        <a href="mailto:jsr-52-comments@jcp.org">comments to JSR-52</a></b></font></td>
    </tr>
  </table>
  </body>
  <!-- #EndTemplate --></html>
  
  
  
  1.12      +12 -11    jakarta-taglibs/standard/examples/web/import/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/examples/web/import/index.html,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- index.html	14 Dec 2002 00:56:53 -0000	1.11
  +++ index.html	18 Mar 2003 23:00:47 -0000	1.12
  @@ -1,12 +1,12 @@
  -<html>
  -<!-- #BeginTemplate "/Templates/ExamplesTemplate.dwt" --> 
  +<html><!-- #BeginTemplate "/Templates/ExamplesTemplate.dwt" -->
   <head>
   <!-- #BeginEditable "doctitle" --> 
   <title>JSTL: Import Tags Examples</title>
  -<!-- #EndEditable --> 
  +<!-- #EndEditable -->
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <link rel="stylesheet" href="../global.css" type="text/css">
   </head>
  +
   <body bgcolor="#FFFFFF" text="#000000">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  @@ -17,11 +17,13 @@
     </tr>
     <tr> 
       <td bgcolor="#CCCCFF"><font size="-1">Examples &nbsp;&nbsp;&nbsp;&nbsp;<a
href="../index.html">Introduction</a> 
  -      &#149; <a href="../elsupport/index.html">General Purpose</a> &#149;
<a href="../conditionals/index.html">Conditionals</a> 
  -      &#149; <a href="../iterators/index.html">Iterators</a> &#149;
<a href="index.jsp">Import</a> 
  -      &#149; <a href="../format/index.html">I18N & Formatting</a> &#149;
<a href="../xml/index.html">XML</a> 
  -      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../tlv/index.html">TLV</a>

  -      &#149; <a href="../misc/index.html"></a><a href="../misc/index.html">Misc.</a></font></td>
  +      &#149; <a href="../elsupport/index.html">General Purpose</a> 
  +      &#149; <a href="../conditionals/index.html">Conditionals</a> 
  +      &#149; <a href="../iterators/index.html">Iterators</a> &#149;

  +      <a href="index.jsp">Import</a> &#149; <a href="../format/index.html">I18N

  +      & Formatting</a> &#149; <a href="../xml/index.html">XML</a>

  +      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../functions/index.html">Functions</a>

  +      &#149; <a href="../tlv/index.html">TLV</a> &#149; <a href="../functions/index.html"></a><a
href="../misc/index.html">Misc.</a></font></td>
     </tr>
   </table>
   <!-- #BeginEditable "body" --> 
  @@ -83,7 +85,7 @@
   </h3>
   A relative URL must start with a "/" in a foreign context. (NOTE: This example 
   will result in a ServletException describing the error condition). <br>
  -<!-- #EndEditable --> 
  +<!-- #EndEditable -->
   <hr noshade color="#000099">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  @@ -94,5 +96,4 @@
     </tr>
   </table>
   </body>
  -<!-- #EndTemplate -->
  -</html>
  +<!-- #EndTemplate --></html>
  
  
  
  1.8       +12 -11    jakarta-taglibs/standard/examples/web/import/index.jsp
  
  Index: index.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/examples/web/import/index.jsp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- index.jsp	14 Dec 2002 00:56:53 -0000	1.7
  +++ index.jsp	18 Mar 2003 23:00:47 -0000	1.8
  @@ -1,12 +1,12 @@
  -<html>
  -<!-- #BeginTemplate "/Templates/ExamplesTemplate.dwt" --> 
  +<html><!-- #BeginTemplate "/Templates/ExamplesTemplate.dwt" -->
   <head>
   <!-- #BeginEditable "doctitle" --> 
   <title>JSTL: Import Tags Examples</title>
  -<!-- #EndEditable --> 
  +<!-- #EndEditable -->
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <link rel="stylesheet" href="../global.css" type="text/css">
   </head>
  +
   <body bgcolor="#FFFFFF" text="#000000">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  @@ -17,11 +17,13 @@
     </tr>
     <tr> 
       <td bgcolor="#CCCCFF"><font size="-1">Examples &nbsp;&nbsp;&nbsp;&nbsp;<a
href="../index.html">Introduction</a> 
  -      &#149; <a href="../elsupport/index.html">General Purpose</a> &#149;
<a href="../conditionals/index.html">Conditionals</a> 
  -      &#149; <a href="../iterators/index.html">Iterators</a> &#149;
<a href="index.jsp">Import</a> 
  -      &#149; <a href="../format/index.html">I18N & Formatting</a> &#149;
<a href="../xml/index.html">XML</a> 
  -      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../tlv/index.html">TLV</a>

  -      &#149; <a href="../misc/index.html"></a><a href="../misc/index.html">Misc.</a></font></td>
  +      &#149; <a href="../elsupport/index.html">General Purpose</a> 
  +      &#149; <a href="../conditionals/index.html">Conditionals</a> 
  +      &#149; <a href="../iterators/index.html">Iterators</a> &#149;

  +      <a href="index.jsp">Import</a> &#149; <a href="../format/index.html">I18N

  +      & Formatting</a> &#149; <a href="../xml/index.html">XML</a>

  +      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../functions/index.html">Functions</a>

  +      &#149; <a href="../tlv/index.html">TLV</a> &#149; <a href="../functions/index.html"></a><a
href="../misc/index.html">Misc.</a></font></td>
     </tr>
   </table>
   <!-- #BeginEditable "body" --> 
  @@ -78,7 +80,7 @@
       <input type="submit" name="Submit" value="Submit">
     </p>
   </form>
  -<!-- #EndEditable --> 
  +<!-- #EndEditable -->
   <hr noshade color="#000099">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  @@ -89,5 +91,4 @@
     </tr>
   </table>
   </body>
  -<!-- #EndTemplate -->
  -</html>
  +<!-- #EndTemplate --></html>
  
  
  
  1.12      +12 -11    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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- index.html	14 Dec 2002 00:56:53 -0000	1.11
  +++ index.html	18 Mar 2003 23:00:47 -0000	1.12
  @@ -1,12 +1,12 @@
  -<html>
  -<!-- #BeginTemplate "/Templates/ExamplesTemplate.dwt" --> 
  +<html><!-- #BeginTemplate "/Templates/ExamplesTemplate.dwt" -->
   <head>
   <!-- #BeginEditable "doctitle" --> 
   <title>JSTL: Iterator Tags Examples</title>
  -<!-- #EndEditable --> 
  +<!-- #EndEditable -->
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <link rel="stylesheet" href="../global.css" type="text/css">
   </head>
  +
   <body bgcolor="#FFFFFF" text="#000000">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  @@ -17,11 +17,13 @@
     </tr>
     <tr> 
       <td bgcolor="#CCCCFF"><font size="-1">Examples &nbsp;&nbsp;&nbsp;&nbsp;<a
href="../index.html">Introduction</a> 
  -      &#149; <a href="../elsupport/index.html">General Purpose</a> &#149;
<a href="../conditionals/index.html">Conditionals</a> 
  -      &#149; <a href="index.html">Iterators</a> &#149; <a href="../import/index.jsp">Import</a>

  -      &#149; <a href="../format/index.html">I18N & Formatting</a> &#149;
<a href="../xml/index.html">XML</a> 
  -      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../tlv/index.html">TLV</a>

  -      &#149; <a href="../misc/index.html"></a><a href="../misc/index.html">Misc.</a></font></td>
  +      &#149; <a href="../elsupport/index.html">General Purpose</a> 
  +      &#149; <a href="../conditionals/index.html">Conditionals</a> 
  +      &#149; <a href="index.html">Iterators</a> &#149; 
  +      <a href="../import/index.jsp">Import</a> &#149; <a href="../format/index.html">I18N

  +      & Formatting</a> &#149; <a href="../xml/index.html">XML</a>

  +      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../functions/index.html">Functions</a>

  +      &#149; <a href="../tlv/index.html">TLV</a> &#149; <a href="../functions/index.html"></a><a
href="../misc/index.html">Misc.</a></font></td>
     </tr>
   </table>
   <!-- #BeginEditable "body" --> 
  @@ -61,7 +63,7 @@
   <p>JSTL exposes in its API the abstract class IteratorTagSupport to facilitate 
     the implementation of custom iterator tags that leverage the standard iteration 
     behavior defined in JSTL. This example shows a custom iterator tag that ...</p>
  -<!-- #EndEditable --> 
  +<!-- #EndEditable -->
   <hr noshade color="#000099">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  @@ -72,5 +74,4 @@
     </tr>
   </table>
   </body>
  -<!-- #EndTemplate -->
  -</html>
  +<!-- #EndTemplate --></html>
  
  
  
  1.11      +12 -11    jakarta-taglibs/standard/examples/web/misc/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/examples/web/misc/index.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- index.html	14 Dec 2002 00:56:54 -0000	1.10
  +++ index.html	18 Mar 2003 23:00:47 -0000	1.11
  @@ -1,12 +1,12 @@
  -<html>
  -<!-- #BeginTemplate "/Templates/ExamplesTemplate.dwt" --> 
  +<html><!-- #BeginTemplate "/Templates/ExamplesTemplate.dwt" -->
   <head>
   <!-- #BeginEditable "doctitle" --> 
   <title>JSTL: Miscellaneous Examples</title>
  -<!-- #EndEditable --> 
  +<!-- #EndEditable -->
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <link rel="stylesheet" href="../global.css" type="text/css">
   </head>
  +
   <body bgcolor="#FFFFFF" text="#000000">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  @@ -17,11 +17,13 @@
     </tr>
     <tr> 
       <td bgcolor="#CCCCFF"><font size="-1">Examples &nbsp;&nbsp;&nbsp;&nbsp;<a
href="../index.html">Introduction</a> 
  -      &#149; <a href="../elsupport/index.html">General Purpose</a> &#149;
<a href="../conditionals/index.html">Conditionals</a> 
  -      &#149; <a href="../iterators/index.html">Iterators</a> &#149;
<a href="../import/index.jsp">Import</a> 
  -      &#149; <a href="../format/index.html">I18N & Formatting</a> &#149;
<a href="../xml/index.html">XML</a> 
  -      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../tlv/index.html">TLV</a>

  -      &#149; <a href="index.html"></a><a href="index.html">Misc.</a></font></td>
  +      &#149; <a href="../elsupport/index.html">General Purpose</a> 
  +      &#149; <a href="../conditionals/index.html">Conditionals</a> 
  +      &#149; <a href="../iterators/index.html">Iterators</a> &#149;

  +      <a href="../import/index.jsp">Import</a> &#149; <a href="../format/index.html">I18N

  +      & Formatting</a> &#149; <a href="../xml/index.html">XML</a>

  +      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../functions/index.html">Functions</a>

  +      &#149; <a href="../tlv/index.html">TLV</a> &#149; <a href="../functions/index.html"></a><a
href="index.html">Misc.</a></font></td>
     </tr>
   </table>
   <!-- #BeginEditable "body" --> 
  @@ -30,7 +32,7 @@
     <a href="../misc/IteratorTest.jsp"><img src="../images/execute.gif" width="24"
height="24" border="0"></a> 
   </h3>
   Some tests on the iterator tags.<br>
  -<!-- #EndEditable --> 
  +<!-- #EndEditable -->
   <hr noshade color="#000099">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  @@ -41,5 +43,4 @@
     </tr>
   </table>
   </body>
  -<!-- #EndTemplate -->
  -</html>
  +<!-- #EndTemplate --></html>
  
  
  
  1.11      +12 -11    jakarta-taglibs/standard/examples/web/sql/index.jsp
  
  Index: index.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/examples/web/sql/index.jsp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- index.jsp	14 Dec 2002 00:56:54 -0000	1.10
  +++ index.jsp	18 Mar 2003 23:00:48 -0000	1.11
  @@ -1,12 +1,12 @@
  -<html>
  -<!-- #BeginTemplate "/Templates/ExamplesTemplate.dwt" --> 
  +<html><!-- #BeginTemplate "/Templates/ExamplesTemplate.dwt" -->
   <head>
   <!-- #BeginEditable "doctitle" --> 
   <title>Untitled Document</title>
  -<!-- #EndEditable --> 
  +<!-- #EndEditable -->
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <link rel="stylesheet" href="../global.css" type="text/css">
   </head>
  +
   <body bgcolor="#FFFFFF" text="#000000">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  @@ -17,11 +17,13 @@
     </tr>
     <tr> 
       <td bgcolor="#CCCCFF"><font size="-1">Examples &nbsp;&nbsp;&nbsp;&nbsp;<a
href="../index.html">Introduction</a> 
  -      &#149; <a href="../elsupport/index.html">General Purpose</a> &#149;
<a href="../conditionals/index.html">Conditionals</a> 
  -      &#149; <a href="../iterators/index.html">Iterators</a> &#149;
<a href="../import/index.jsp">Import</a> 
  -      &#149; <a href="../format/index.html">I18N & Formatting</a> &#149;
<a href="../xml/index.html">XML</a> 
  -      &#149; <a href="index.jsp">SQL</a> &#149; <a href="../tlv/index.html">TLV</a>

  -      &#149; <a href="../misc/index.html"></a><a href="../misc/index.html">Misc.</a></font></td>
  +      &#149; <a href="../elsupport/index.html">General Purpose</a> 
  +      &#149; <a href="../conditionals/index.html">Conditionals</a> 
  +      &#149; <a href="../iterators/index.html">Iterators</a> &#149;

  +      <a href="../import/index.jsp">Import</a> &#149; <a href="../format/index.html">I18N

  +      & Formatting</a> &#149; <a href="../xml/index.html">XML</a>

  +      &#149; <a href="index.jsp">SQL</a> &#149; <a href="../functions/index.html">Functions</a>

  +      &#149; <a href="../tlv/index.html">TLV</a> &#149; <a href="../functions/index.html"></a><a
href="../misc/index.html">Misc.</a></font></td>
     </tr>
   </table>
   <!-- #BeginEditable "body" --> 
  @@ -84,7 +86,7 @@
   <p>NOTE: You can access the tags directly here to look at the source. If you do 
     not provide a valid Driver and URL using the above form the tags NOT run properly.</p>
   <%@ include file="links.html" %>
  -<!-- #EndEditable --> 
  +<!-- #EndEditable -->
   <hr noshade color="#000099">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  @@ -95,5 +97,4 @@
     </tr>
   </table>
   </body>
  -<!-- #EndTemplate -->
  -</html>
  +<!-- #EndTemplate --></html>
  
  
  
  1.3       +3 -3      jakarta-taglibs/standard/examples/web/tlv/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/examples/web/tlv/index.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- index.html	23 Jan 2003 23:10:28 -0000	1.2
  +++ index.html	18 Mar 2003 23:00:48 -0000	1.3
  @@ -22,8 +22,8 @@
         &#149; <a href="../iterators/index.html">Iterators</a> &#149;

         <a href="../import/index.jsp">Import</a> &#149; <a href="../format/index.html">I18N

         & Formatting</a> &#149; <a href="../xml/index.html">XML</a>

  -      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="index.html">TLV</a>

  -      &#149; <a href="../misc/index.html"></a><a href="../misc/index.html">Misc.</a></font></td>
  +      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../functions/index.html">Functions</a>

  +      &#149; <a href="index.html">TLV</a> &#149; <a href="../functions/index.html"></a><a
href="../misc/index.html">Misc.</a></font></td>
     </tr>
   </table>
   <!-- #BeginEditable "body" --> 
  @@ -53,7 +53,7 @@
   <p>This example shows a JSP page using the PermittedTaglibs TLV. Because this 
     page uses tag libraries that are not allowed, a translation error is reported 
     when accessing the page.</p>
  -<!-- #EndEditable --> 
  +<!-- #EndEditable -->
   <hr noshade color="#000099">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  
  
  
  1.14      +12 -11    jakarta-taglibs/standard/examples/web/xml/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/examples/web/xml/index.html,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- index.html	14 Dec 2002 00:56:54 -0000	1.13
  +++ index.html	18 Mar 2003 23:00:49 -0000	1.14
  @@ -1,12 +1,12 @@
  -<html>
  -<!-- #BeginTemplate "/Templates/ExamplesTemplate.dwt" --> 
  +<html><!-- #BeginTemplate "/Templates/ExamplesTemplate.dwt" -->
   <head>
   <!-- #BeginEditable "doctitle" --> 
   <title>JSTL: EcmaScript Tags Examples</title>
  -<!-- #EndEditable --> 
  +<!-- #EndEditable -->
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <link rel="stylesheet" href="../global.css" type="text/css">
   </head>
  +
   <body bgcolor="#FFFFFF" text="#000000">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  @@ -17,11 +17,13 @@
     </tr>
     <tr> 
       <td bgcolor="#CCCCFF"><font size="-1">Examples &nbsp;&nbsp;&nbsp;&nbsp;<a
href="../index.html">Introduction</a> 
  -      &#149; <a href="../elsupport/index.html">General Purpose</a> &#149;
<a href="../conditionals/index.html">Conditionals</a> 
  -      &#149; <a href="../iterators/index.html">Iterators</a> &#149;
<a href="../import/index.jsp">Import</a> 
  -      &#149; <a href="../format/index.html">I18N & Formatting</a> &#149;
<a href="index.html">XML</a> 
  -      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../tlv/index.html">TLV</a>

  -      &#149; <a href="../misc/index.html"></a><a href="../misc/index.html">Misc.</a></font></td>
  +      &#149; <a href="../elsupport/index.html">General Purpose</a> 
  +      &#149; <a href="../conditionals/index.html">Conditionals</a> 
  +      &#149; <a href="../iterators/index.html">Iterators</a> &#149;

  +      <a href="../import/index.jsp">Import</a> &#149; <a href="../format/index.html">I18N

  +      & Formatting</a> &#149; <a href="index.html">XML</a> 
  +      &#149; <a href="../sql/index.jsp">SQL</a> &#149; <a href="../functions/index.html">Functions</a>

  +      &#149; <a href="../tlv/index.html">TLV</a> &#149; <a href="../functions/index.html"></a><a
href="../misc/index.html">Misc.</a></font></td>
     </tr>
   </table>
   <!-- #BeginEditable "body" --> 
  @@ -65,7 +67,7 @@
     <img src="../images/code.gif" width="24" height="24" border="0"></a> <a
href="TransformWithInclusion.jsp"> 
     <img src="../images/execute.gif" width="24" height="24" border="0"></a></h3>
   Transformations using XSLT tags like &lt;xsl:include&gt; (with xsltSystemId) <br
/>
  -<!-- #EndEditable --> 
  +<!-- #EndEditable -->
   <hr noshade color="#000099">
   <table width="100%" border="0" cellpadding="5">
     <tr> 
  @@ -76,5 +78,4 @@
     </tr>
   </table>
   </body>
  -<!-- #EndTemplate -->
  -</html>
  +<!-- #EndTemplate --></html>
  
  
  
  1.1                  jakarta-taglibs/standard/src/org/apache/taglibs/standard/functions/Functions.java
  
  Index: Functions.java
  ===================================================================
  /*
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights 
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *    notice, this list of conditions and the following disclaimer. 
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *    notice, this list of conditions and the following disclaimer in
   *    the documentation and/or other materials provided with the
   *    distribution.
   *
   * 3. The end-user documentation included with the redistribution, if
   *    any, must include the following acknowlegement:  
   *       "This product includes software developed by the 
   *        Apache Software Foundation (http://www.apache.org/)."
   *    Alternately, this acknowlegement may appear in the software itself,
   *    if and wherever such third-party acknowlegements normally appear.
   *
   * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
   *    Foundation" must not be used to endorse or promote products derived
   *    from this software without prior written permission. For written 
   *    permission, please contact apache@apache.org.
   *
   * 5. Products derived from this software may not be called "Apache"
   *    nor may "Apache" appear in their names without prior written
   *    permission of the Apache Group.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * ====================================================================
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   *
   */ 
  
  package org.apache.taglibs.standard.functions;
  
  /**
   * <p>JSTL Functions</p>
   * 
   * @author Pierre Delisle
   */
  
  public class Functions {
  
      //*********************************************************************
      // String Capitalization
  
      /**
       * Converts all of the characters of the input string to upper case.
       */
      public static String toUpperCase(String input) {
          return input.toUpperCase();
      }
  
      /**
       * Converts all of the characters of the input string to lower case.
       */
      public static String toLowerCase(String input) {
          return input.toLowerCase();
      }
  }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message