geirm 01/03/19 10:21:32
Modified: xdocs developer-guide.xml
Log:
added subsection stuff to the TOC
Revision Changes Path
1.29 +24 -2 jakarta-velocity/xdocs/developer-guide.xml
Index: developer-guide.xml
===================================================================
RCS file: /home/cvs/jakarta-velocity/xdocs/developer-guide.xml,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- developer-guide.xml 2001/03/19 18:05:54 1.28
+++ developer-guide.xml 2001/03/19 18:21:32 1.29
@@ -24,19 +24,35 @@
<li>
<a href="developer-guide.html#howvelworks">How Velocity Works</a>
+<ul>
+ <li><a href="developer-guide.html#howvelworks">The Fundamental Pattern</a></li>
+</ul>
</li>
<li>
<a href="developer-guide.html#context">The Context</a>
+<ul>
+<li><a href="developer-guide.html#context">The Basics</a></li>
+<li><a href="developer-guide.html#contextforeach">Collections and
#foreach()</a></li>
+<li><a href="developer-guide.html#contextchaining">Context Chaining</a></li>
+</ul>
</li>
<li>
<a href="developer-guide.html#servlets">Using Velocity in Servlets</a>
+<ul>
+<li><a href="developer-guide.html#servlets">Servlet Programming</a></li>
+<li><a href="developer-guide.html#serveletdeployment">Deployment</a></li>
+</ul>
</li>
<li>
<a href="developer-guide.html#general">Using Velocity in General Applications</a>
-</li>
+<ul>
+<li><a href="developer-guide.html#velocityclass">The Velocity Helper Class</a></li>
+<li><a href="developer-guide.html#exceptions">Exceptions</a></li>
+<li><a href="developer-guide.html#generalmisc">Miscellaneous</a></li>
+</ul></li>
<li>
<a href="developer-guide.html#config">Configuration Keys and Values</a>
@@ -245,7 +261,7 @@
<section name="How Velocity Works">
<a name="howvelworks"></a>
-<strong>or 'The Fundamental Pattern'</strong>
+<strong>'The Fundamental Pattern'</strong>
<p>
When using Velocity in an application program or in a servlet
(or anywhere, actually), you will generally do the following :
@@ -362,6 +378,7 @@
<strong>Support for Iterative Objects for #foreach()</strong>
+<a name="contextforeach"></a>
<p>
As a programmer, you have great freedom in the objects that you put into the
context. But as with most freedoms, this one comes with a little bit of
@@ -444,6 +461,7 @@
<strong>Context Chaining</strong>
+<a name="contextchaining"></a>
<p>
An innovative feature of Velocity's context design is the concept
of <i>context chaining</i>. Also sometimes referred to as
@@ -636,6 +654,7 @@
<strong>Deployment</strong>
+<a name="servletdeployment"></a>
<p>
When you deploy your Velocity-based servlets, you will certainly want to
ensure that your properties file is used to configure the Velocity runtime.
@@ -688,6 +707,7 @@
</p>
<strong>The Velocity Class</strong>
+<a name="velocityclass"></a>
<p>
Velocity contains an application utility class called Velocity
( <code>org.apache.velocity.app.Velocity</code> ). The purpose of this class
@@ -913,6 +933,7 @@
</p>
<strong>Exceptions</strong>
+<a name="exceptions"></a>
<p>
There are three exceptions that Velocity will throw during the parse / merge cycle.
This are additional to the exceptions that will come from IO problems, etc.
@@ -944,6 +965,7 @@
</p>
<strong>Miscellaneous Details</strong>
+<a name="generalmisc"></a>
<p>
While the above example used the default properties, setting your own
properties is very simple. All you have to do is make a properties file