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/jsptl/doc/web Overview.html
Date Wed, 18 Jul 2001 22:39:07 GMT
pierred     01/07/18 15:39:07

  Modified:    jsptl/doc/web Overview.html
  Log:
  Fixed typos.
  
  Revision  Changes    Path
  1.2       +37 -33    jakarta-taglibs/jsptl/doc/web/Overview.html
  
  Index: Overview.html
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/jsptl/doc/web/Overview.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Overview.html	2001/07/08 16:27:32	1.1
  +++ Overview.html	2001/07/18 22:39:07	1.2
  @@ -39,7 +39,7 @@
     without having to use scriptlets or request-time expression values. </p>
   <p>For example, this conditional tag tests whether the country of a customer is 
     the USA.</p>
  -<p><code> &nbsp;&nbsp;&lt;jx:if test=&quot;$customer.address.country
== 'USA'&gt;<br>
  +<p><code> &nbsp;&nbsp;&lt;jx:if test=&quot;$customer.address.country
== 'USA'&quot&gt;<br>
     &nbsp;&nbsp;&nbsp;&nbsp;...</code><br>
     <code>&nbsp;&nbsp;&lt;/jx:if&gt;</code></p>
   <p>There were quite a few issues involved with the support of an Expression Language

  @@ -83,7 +83,7 @@
     'var' is used for the primary piece of information being exported, and an appriate 
     name is selected for any other secondary piece of information exposed (e.g. 
     an iteration current status information is exported by the foreach tag via attribute

  -  status.)</p>
  +  <code>status</code>.)</p>
   <p>The fact that JSPTL tags do not expose scripting variables would make it hard

     to collaborate with other tags whose data must be passed as rtexprvalues. To 
     that effect, tag &lt;declare&gt; allows to declare a scripting variable to be

  @@ -157,12 +157,14 @@
         </p>
       </td>
       <td width="48%"> 
  -      <p><code>&lt;jx:set var=&quot;city&quot; value=&quot;$customer.address.city&quot;&gt;<br>
  +      <p><code>&lt;jx:set var=&quot;city&quot; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;value=&quot;$customer.address.city&quot;&gt;<br>
           <br>
           &lt;jx:set var=&quot;customerFmt&quot; scope=&quot;request&quot;&gt;<br>
  -        &nbsp;&nbsp;&lt;font color=red&gt;&lt;jx:expr value=&quot;$customer&quot;/&gt;&lt;/font&gt;<br>
  +        &nbsp;&nbsp;&lt;font color=red&gt;<br>
  +        &nbsp;&nbsp;&nbsp; </code><code>&lt;jx:expr value=&quot;$customer&quot;/&gt;<br>
  +        &nbsp; &lt;/font&gt;<br>
           &lt;/jx:set&gt;</code></p>
  -    </td>
  +      </td>
     </tr>
     <tr> 
       <td width="31%"><code><b>&lt;set&gt;</b></code><br>
  @@ -173,10 +175,12 @@
         <code><br>
         </code></td>
       <td width="48%"> 
  -      <p><code>&lt;jx:set var=&quot;city&quot; value=&quot;$customer.address.city&quot;&gt;<br>
  +      <p><code>&lt;jx:set var=&quot;city&quot; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;value=&quot;$customer.address.city&quot;&gt;<br>
           <br>
           &lt;jx:set var=&quot;customerFmt&quot; scope=&quot;request&quot;&gt;<br>
  -        &nbsp;&nbsp;&lt;font color=red&gt;&lt;jx:expr value=&quot;$customer&quot;/&gt;&lt;/font&gt;<br>
  +        &nbsp;&nbsp;&lt;font color=red&gt;<br>
  +        &nbsp;&nbsp;&nbsp; &lt;jx:expr value=&quot;$customer&quot;/&gt;<br>
  +        &nbsp; &lt;/font&gt;<br>
           &lt;/jx:set&gt;</code></p>
       </td>
     </tr>
  @@ -249,15 +253,15 @@
         about the current index of the iteration and convenience methods to determine 
         whether or not the current round is either the first or last in the iteration. 
         It also lets authors use the status object to obtain information about the 
  -      iteration range, step, label, and current object.</td>
  +      iteration range, step, and current object.</td>
     </tr>
     <tr> 
       <td width="38%"><code><b>abstract class IteratorTagSupport </b></code></td>
       <td>Since most iteration tags will behave identically with respect to actual

  -      iterative behavior, however, JSPTL 1.0 provides this base support class 
  -      to facilitate implementation. Many iteration tags will extend this and merely 
  -      implement the hasNext() and next() methods to provide contents for the handler 
  -      to iterate over.</td>
  +      iterative behavior, JSPTL 1.0 provides this base support class to facilitate 
  +      implementation. Many iteration tags will extend this and merely implement 
  +      the hasNext() and next() methods to provide contents for the handler to 
  +      iterate over.</td>
     </tr>
   </table>
   <br>
  @@ -274,9 +278,9 @@
       <td width="42%" height="123"> 
         <p><code><b>&lt;if&gt;<br>
           </b>test<font color="#0000FF"> var</font><b> </b></code></p>
  -      <p>Simple conditional tag, which evalutes its body if the<br>
  -        supplied condition is true and optionally exposes a Boolean page attribute 
  -        representing the evaluation of this condition.</p>
  +      <p>Simple conditional tag, which evalutes its body if the supplied condition

  +        is true and optionally exposes a Boolean page attribute representing the 
  +        evaluation of this condition.</p>
       </td>
       <td width="58%" height="123"> 
         <p><code>&lt;jx:if test=&quot;$customer.address.country == 'USA'&quot;&gt;

  @@ -285,8 +289,7 @@
           &lt;/jx:if&gt;<br>
           <br>
           &lt;jx:if var=&quot;isUsCustomer&quot;<br>
  -        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test=&quot;$customer.address.country

  -        == 'USA'&quot;/&gt;</code></p>
  +        &nbsp;&nbsp;test=&quot;$customer.address.country == 'USA'&quot;/&gt;</code></p>
       </td>
     </tr>
     <tr> 
  @@ -295,9 +298,8 @@
           <b>&lt;when&gt;</b><br>
           &nbsp;&nbsp;test<b> </b> <br>
           <b>&lt;otherwise&gt;</b></code></p>
  -      <p>Simple conditional tag that establishes a context for<br>
  -        mutually exclusive conditional operations, marked by<br>
  -        <code>&lt;when&gt;</code> and <code>&lt;otherwise&gt;.</code></p>
  +      <p>Simple conditional tag that establishes a context for mutually exclusive

  +        conditional operations, marked by<code> &lt;when&gt;</code>
and <code>&lt;otherwise&gt;.</code></p>
       </td>
       <td width="58%"> 
         <p><code>&lt;jx:choose&gt;</code><code><br>
  @@ -325,28 +327,30 @@
   <table width="100%" border="1" cellpadding="5">
     <tr bgcolor="#000099"> 
       <td colspan="2"><b><font color="#FFFFFF" size="+1">Tag Library Validators</font></b></td>
  +  </tr>
  +  <tr> 
  +    <td colspan="2">EA1 comes with two TagLibraryValidators (TLVs), which are 
  +      classes that ensure pages meet particular criteria before they can run.</td>
  +  <tr bgcolor="#FFFF66"> 
  +    <td width="31%"><b>Tag Library Validator</b></td>
  +    <td width="48%"><b>Sample Usage</b></td>
     </tr>
  -  <tr>
  -   <td colspan="2">EA1 comes with two TagLibraryValidators (TLVs), which are
  -	classes that
  -       ensure pages meet particular criteria before they can run.</td>
     <tr> 
       <td width="19%"><code><b>JsptlCoreTLV</b></code><br>
       </td>
       <td width="53%"> 
  -      <p>(Nothing special is required to use the Core TLV.  This validator
  -	simply does its best to ensure that JSPTL's tags are used
  -	correctly, reporting useful error messages when it can.)</p>
  +      <p>(Nothing special is required to use the Core TLV. This validator simply

  +        does its best to ensure that JSPTL's tags are used correctly, reporting 
  +        useful error messages when it can.)</p>
       </td>
     </tr>
     <tr> 
       <td width="19%"><code><b>ScriptFreeTLV</b></code></td>
  -    <td width="53%"> 
  -	The following directive on a JSP page invokes the ScriptFreeTLV
  -	validator to make sure that no scripting elements appear on
  -	the page:
  -<pre>&lt;%@ taglib prefix="scriptfree"
  -    uri="http://jakarta.apache.org/taglibs/jsptl/scriptfree" %&gt;</pre></td>
  +    <td width="53%"> The following directive on a JSP page invokes the ScriptFreeTLV

  +      validator to make sure that no scripting elements appear on the page: 
  +      <pre>&lt;%@ taglib prefix="scriptfree"
  +    uri="http://jakarta.apache.org/taglibs/jsptl/scriptfree" %&gt;</pre>
  +    </td>
     </tr>
   </table>
   </body>
  
  
  

Mime
View raw message