You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by wg...@apache.org on 2005/01/15 08:18:35 UTC
svn commit: r125253 - /jakarta/velocity/trunk/docs/vtl-reference-guide.html /jakarta/velocity/trunk/xdocs/vtl-reference-guide.xml
Author: wglass
Date: Fri Jan 14 23:18:34 2005
New Revision: 125253
URL: http://svn.apache.org/viewcvs?view=rev&rev=125253
Log:
fixed incorrect foreach config property
Modified:
jakarta/velocity/trunk/docs/vtl-reference-guide.html
jakarta/velocity/trunk/xdocs/vtl-reference-guide.xml
Modified: jakarta/velocity/trunk/docs/vtl-reference-guide.html
Url: http://svn.apache.org/viewcvs/jakarta/velocity/trunk/docs/vtl-reference-guide.html?view=diff&rev=125253&p1=jakarta/velocity/trunk/docs/vtl-reference-guide.html&r1=125252&p2=jakarta/velocity/trunk/docs/vtl-reference-guide.html&r2=125253
==============================================================================
--- jakarta/velocity/trunk/docs/vtl-reference-guide.html (original)
+++ jakarta/velocity/trunk/docs/vtl-reference-guide.html Fri Jan 14 23:18:34 2005
@@ -1,5 +1,21 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+Copyright 1999-2004 The Apache Software Foundation
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+
<!-- Content Stylesheet for Site -->
@@ -148,6 +164,7 @@
</font>
</td></tr>
<tr><td>
+ <p>
<blockquote>
<p>
This guide is the reference for the Velocity Template Language
@@ -165,6 +182,7 @@
</font>
</td></tr>
<tr><td>
+ <p>
<blockquote>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#828DA6">
@@ -279,6 +297,7 @@
</font>
</td></tr>
<tr><td>
+ <p>
<blockquote>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#828DA6">
@@ -464,12 +483,12 @@
<td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
<td bgcolor="#ffffff"><pre>
# Default name of the loop counter
-# variable refernce.
-counter.name = velocityCount
+# variable reference.
+directive.foreach.counter.name = velocityCount
# Default starting value of the loop
# counter variable reference.
-counter.initial.value = 1
+directive.foreach.counter.initial.value = 1
</pre></td>
<td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
</tr>
@@ -646,6 +665,7 @@
</font>
</td></tr>
<tr><td>
+ <p>
<blockquote>
<p>
Comments are not rendered at runtime.
@@ -705,7 +725,7 @@
</td></tr>
<tr><td colspan="2">
<div align="center"><font color="#525D76" size="-1"><em>
- Copyright © 1999-2004, Apache Software Foundation
+ Copyright © 1999-2005, The Apache Software Foundation
</em></font></div>
</td></tr>
</table>
Modified: jakarta/velocity/trunk/xdocs/vtl-reference-guide.xml
Url: http://svn.apache.org/viewcvs/jakarta/velocity/trunk/xdocs/vtl-reference-guide.xml?view=diff&rev=125253&p1=jakarta/velocity/trunk/xdocs/vtl-reference-guide.xml&r1=125252&p2=jakarta/velocity/trunk/xdocs/vtl-reference-guide.xml&r2=125253
==============================================================================
--- jakarta/velocity/trunk/xdocs/vtl-reference-guide.xml (original)
+++ jakarta/velocity/trunk/xdocs/vtl-reference-guide.xml Fri Jan 14 23:18:34 2005
@@ -261,12 +261,12 @@
<source><![CDATA[
# Default name of the loop counter
-# variable refernce.
-counter.name = velocityCount
+# variable reference.
+directive.foreach.counter.name = velocityCount
# Default starting value of the loop
# counter variable reference.
-counter.initial.value = 1
+directive.foreach.counter.initial.value = 1
]]></source>
</subsection>
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org