jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hor...@apache.org
Subject cvs commit: jakarta-taglibs/jsptl/examples/web/ecmascript index.html MapAccess.jsp
Date Mon, 05 Nov 2001 23:08:26 GMT
horwat      01/11/05 15:08:26

  Modified:    jsptl/examples/web/ecmascript index.html MapAccess.jsp
  Log:
  Add information on how to modify web.xml file to use EcmaScript EL.
  
  Revision  Changes    Path
  1.2       +13 -3     jakarta-taglibs/jsptl/examples/web/ecmascript/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/jsptl/examples/web/ecmascript/index.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.html	2001/10/24 23:54:33	1.1
  +++ index.html	2001/11/05 23:08:26	1.2
  @@ -2,7 +2,7 @@
   <!-- #BeginTemplate "/web/Templates/ExamplesTemplate.dwt" --> 
   <head>
   <!-- #BeginEditable "doctitle" --> 
  -<title>JSPTL: Iterator Tags Examples</title>
  +<title>JSPTL: EcmaScript 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">
  @@ -27,7 +27,7 @@
     <tr> 
       <td colspan="3" bgcolor="#CCCCFF"><font color="#CCFF00"><b><font
color="#000099">JSPTL 
         Examples</font><font color="#FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp;<a
href="../index.html">Introduction</a> 
  -      &#149; <a href="index.html">Iterators</a> &#149; <a href="../conditionals/index.html">Conditionals</a>

  +      &#149; <a href="../iterators/index.html">Iterators</a> &#149;
<a href="../conditionals/index.html">Conditionals</a> 
         &#149; <a href="../elsupport/index.html">EL Support </a></font><font
color="#CCFF00"><b><font color="#FFFFFF">&#149; 
         <a href="../misc/index.html">Misc</a></font></b></font><font
color="#FFFFFF">
         &#149; <a href="index.html">EcmaScript</a></font></b></font></td>
  @@ -36,6 +36,16 @@
   
   <!-- #BeginEditable "body" --> 
   <h2>EcmaScript Expression Language Examples</h2>
  +<p>In order to use EcmaScript, make sure to set the context parameter to the EcmaScript
expression language in your web.xml file as follows:<p>
  +<pre>
  +    &lt;context-param&gt;
  +        &lt;param-name&gt;javax.servlet.jsptl.ExpressionEvaluatorClass&lt;/param-name&gt;
  +        &lt;param-value&gt;org.apache.taglibs.jsptl.lang.javascript.JavascriptExpressionEvaluator&lt;/param-value&gt;
  +    &lt;/context-param&gt;
  +</pre>
  +
  +
  +
   <h3>Arithmetic Operators&nbsp;&nbsp; <a href="../ShowSource.jsp?filename=/ecmascript/ArithmeticOperators.jsp"><img
src="../images/code.gif" width="24" height="24" border="0"></a> 
     <a href="ArithmeticOperators.jsp"><img src="../images/execute.gif" width="24"
height="24" border="0"></a> 
   </h3>
  @@ -89,7 +99,7 @@
   <h3>Map Access&nbsp;&nbsp; <a href="../ShowSource.jsp?filename=/ecmascript/MapAccess.jsp"><img
src="../images/code.gif" width="24" height="24" border="0"></a> 
     <a href="MapAccess.jsp"><img src="../images/execute.gif" width="24" height="24"
border="0"></a> 
   </h3>
  -The key and value of a Map object can be accessed directly.<br>
  +The key and value of a Map.Entry object can be accessed directly.<br>
   
   <h3>Function Call&nbsp;&nbsp; <a href="../ShowSource.jsp?filename=/ecmascript/FunctionCall.jsp"><img
src="../images/code.gif" width="24" height="24" border="0"></a> 
     <a href="FunctionCall.jsp"><img src="../images/execute.gif" width="24" height="24"
border="0"></a> 
  
  
  
  1.2       +4 -4      jakarta-taglibs/jsptl/examples/web/ecmascript/MapAccess.jsp
  
  Index: MapAccess.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/jsptl/examples/web/ecmascript/MapAccess.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MapAccess.jsp	2001/10/24 23:54:32	1.1
  +++ MapAccess.jsp	2001/11/05 23:08:26	1.2
  @@ -2,12 +2,12 @@
   
   <html>
   <head>
  -  <title>JSPTL: EcmaScript EL Support -- Simple Map Access Example</title>
  +  <title>JSPTL: EcmaScript EL Support -- Simple Map.Entry Access Example</title>
   </head>
   <body bgcolor="#FFFFFF">
  -<h3>Map Access</h3>
  +<h3>Map.Entry Access</h3>
   
  -<p>In EcmaScript you can access the key and corresponding value of the Map object
directly.</p>
  +<p>In EcmaScript you can access the key and corresponding value of the Map.Entry
object directly.</p>
   
   <p>Here is an example:</p>
   
  @@ -15,7 +15,7 @@
   
   <table border="1">
     <tr>
  -    <th>Map Object</th>
  +    <th>Map.Entry Object</th>
       <th>Value</th>
       <th>Key</th>
     </tr>
  
  
  

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


Mime
View raw message