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> <jx:if test="$customer.address.country ==
'USA'><br>
+<p><code> <jx:if test="$customer.address.country ==
'USA'"><br>
...</code><br>
<code> </jx:if></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 <declare> allows to declare a scripting variable to be
@@ -157,12 +157,14 @@
</p>
</td>
<td width="48%">
- <p><code><jx:set var="city"
value="$customer.address.city"><br>
+ <p><code><jx:set var="city"
value="$customer.address.city"><br>
<br>
<jx:set var="customerFmt" scope="request"><br>
- <font color=red><jx:expr
value="$customer"/></font><br>
+ <font color=red><br>
+ </code><code><jx:expr
value="$customer"/><br>
+ </font><br>
</jx:set></code></p>
- </td>
+ </td>
</tr>
<tr>
<td width="31%"><code><b><set></b></code><br>
@@ -173,10 +175,12 @@
<code><br>
</code></td>
<td width="48%">
- <p><code><jx:set var="city"
value="$customer.address.city"><br>
+ <p><code><jx:set var="city"
value="$customer.address.city"><br>
<br>
<jx:set var="customerFmt" scope="request"><br>
- <font color=red><jx:expr
value="$customer"/></font><br>
+ <font color=red><br>
+ <jx:expr value="$customer"/><br>
+ </font><br>
</jx:set></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><if><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><jx:if test="$customer.address.country == 'USA'">
@@ -285,8 +289,7 @@
</jx:if><br>
<br>
<jx:if var="isUsCustomer"<br>
- test="$customer.address.country
- == 'USA'"/></code></p>
+ test="$customer.address.country ==
'USA'"/></code></p>
</td>
</tr>
<tr>
@@ -295,9 +298,8 @@
<b><when></b><br>
test<b> </b> <br>
<b><otherwise></b></code></p>
- <p>Simple conditional tag that establishes a context for<br>
- mutually exclusive conditional operations, marked by<br>
- <code><when></code> and <code><otherwise>.</code></p>
+ <p>Simple conditional tag that establishes a context for mutually exclusive
+ conditional operations, marked by<code> <when></code> and
<code><otherwise>.</code></p>
</td>
<td width="58%">
<p><code><jx:choose></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><%@ taglib prefix="scriptfree"
- uri="http://jakarta.apache.org/taglibs/jsptl/scriptfree" %></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><%@ taglib prefix="scriptfree"
+ uri="http://jakarta.apache.org/taglibs/jsptl/scriptfree" %></pre>
+ </td>
</tr>
</table>
</body>