seade 2003/08/20 07:11:22
Modified: xdocs/services template-service.xml
Log:
Fixed some typos.
Revision Changes Path
1.6 +4 -4 jakarta-turbine-2/xdocs/services/template-service.xml
Index: template-service.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/xdocs/services/template-service.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- template-service.xml 22 Jul 2003 11:14:14 -0000 1.5
+++ template-service.xml 20 Aug 2003 14:11:22 -0000 1.6
@@ -89,14 +89,14 @@
<ul>
<li>1) Many examples and docs from older Turbine code show template
- pathes with a slashes.<br/>
+ paths with a slashes.<br/>
Repeat after me: <b>TEMPLATE NAMES NEVER CONTAIN SLASHES!</b><br/>
Template names are separated by "," (the colon). </li>
<li>2) Many examples and docs from older Turbine code show templates
that start with "/". This is not only a violation of the rule
above but actively breaks things like loading templates from
a jar with the velocity jar loader.<br/>
- Repeat after me: <b>TEMPLATE NAMES ARE NOT PATHES. THEY'RE NOT ABSOLUTE
AND HAVE NO LEADING /</b>.</li>
+ Repeat after me: <b>TEMPLATE NAMES ARE NOT PATHS. THEY'RE NOT ABSOLUTE AND
HAVE NO LEADING /</b>.</li>
</ul>
<p>
@@ -183,7 +183,7 @@
<section name="Properties">
<p>
- The mapping of classes and template pathes to template names is configured in
+ The mapping of classes and template paths to template names is configured in
mapper classes. These are pluggable and can be exchanged to configure other
mapping
policies. This is an option for seasoned Turbine developers and the default policy
shouldn't be changed lightly.
@@ -198,7 +198,7 @@
<li>
services.TemplateService.mapper.screen.class configures the mapper
used for finding a screen class suitable for the supplied template
- name. Default isorg.apache.turbine.services.template.mapper.ClassMapper
+ name. Default is org.apache.turbine.services.template.mapper.ClassMapper
</li>
<li>
services.TemplateService.mapper.layout.class configures the mapper
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]