criley 01/05/08 12:54:07
Modified: docs advcriteria.html context-howto.html
getting-started.html install.html peers.html
pullmodel.html python.html
turbine-documentation-project.html
velocity-site.html
Log:
removed the build-turbine entries, added some documentatoin for stuff that popped on
the user mailing list
Revision Changes Path
1.20 +38 -0 jakarta-turbine/docs/advcriteria.html
Index: advcriteria.html
===================================================================
RCS file: /home/cvs/jakarta-turbine/docs/advcriteria.html,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- advcriteria.html 2001/05/08 01:08:05 1.19
+++ advcriteria.html 2001/05/08 19:53:47 1.20
@@ -660,6 +660,44 @@
</blockquote>
</td></tr>
</table>
+ <table border="0" cellspacing="0"
cellpadding="2" width="100%">
+ <tr><td bgcolor="#525D76">
+ <font color="#ffffff" face="arial,helvetica,sanserif">
+ <a name="Debugging Criteria's"><strong>Debugging Criteria's</strong></a>
+ </font>
+ </td></tr>
+ <tr><td>
+ <blockquote>
+ <p>
+ Criteria contains a toString() method which will output a representation of the
Criteria as a String. As the Criteria to a large extent represents the statements in a
WHERE clause of SQL, the LoggingService can output the SQL. In the
TurbineResources.properties file, under the directive;
+ </p>
+ <div align="left">
+ <table cellspacing="4" cellpadding="0" border="0">
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <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>
+ services.LogginService.sql.level = DEBUG
+ </pre></td>
+ <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ </table>
+ </div>
+ <p>
+ Set the level to DEBUG.
+ </p>
+ </blockquote>
+ </td></tr>
+ </table>
</td>
</tr>
1.31 +27 -0 jakarta-turbine/docs/context-howto.html
Index: context-howto.html
===================================================================
RCS file: /home/cvs/jakarta-turbine/docs/context-howto.html,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- context-howto.html 2001/05/08 01:08:06 1.30
+++ context-howto.html 2001/05/08 19:53:48 1.31
@@ -361,6 +361,33 @@
where "newapp" is the chosen webapp deployment name.
</p>
<p>
+This same mechanism can also be used to link to static html;
+</p>
+ <div align="left">
+ <table cellspacing="4" cellpadding="0" border="0">
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <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>
+ $link.setPage("/path/to/static.html")
+</pre></td>
+ <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ </table>
+ </div>
+ <p>
+However the HTML page will load itself into a screen and not be embedded withint
the Layouts and Navigations. If you still wish static content to be embedded within
the specified layouts and navigations it is easier to add the static content as a
velocity template and not take advantage of any of the dynamic content addition the
Velocity Context allows.
+</p>
+ <p>
TemplateLink and DynamicURI again expose a rich set of methods and fields to
the link reference, for a full list of fields and methods please refer to
TemplateLink and DynamicURI in the javadocs. Some of the useful methods
1.39 +42 -0 jakarta-turbine/docs/getting-started.html
Index: getting-started.html
===================================================================
RCS file: /home/cvs/jakarta-turbine/docs/getting-started.html,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- getting-started.html 2001/05/08 01:08:08 1.38
+++ getting-started.html 2001/05/08 19:53:49 1.39
@@ -295,6 +295,48 @@
<table border="0" cellspacing="0"
cellpadding="2" width="100%">
<tr><td bgcolor="#525D76">
<font color="#ffffff" face="arial,helvetica,sanserif">
+ <a name="Generating the Turbine Javadocs"><strong>Generating the Turbine
Javadocs</strong></a>
+ </font>
+ </td></tr>
+ <tr><td>
+ <blockquote>
+ <p>
+To generate the Javadocs for Turbine check out Turbine from CVS. The build scripts
for Turbine are in the /jakarta-turbine/build directory. The Ant Target is javadocs,
cd into the build directory and run build.sh or build.bat depending on whether you are
on *nix or Win32;
+</p>
+ <div align="left">
+ <table cellspacing="4" cellpadding="0" border="0">
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <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>
+ ./build.sh javadocs
+
+ or
+
+ build.bat javadocs
+</pre></td>
+ <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ </table>
+ </div>
+ <p>
+The javadocs will build to the /jakarta-turbine/docs/apidocs directory.
+</p>
+ </blockquote>
+ </td></tr>
+ </table>
+ <table border="0" cellspacing="0"
cellpadding="2" width="100%">
+ <tr><td bgcolor="#525D76">
+ <font color="#ffffff" face="arial,helvetica,sanserif">
<a name="Further Questions and Comments"><strong>Further Questions and
Comments</strong></a>
</font>
</td></tr>
1.36 +4 -4 jakarta-turbine/docs/install.html
Index: install.html
===================================================================
RCS file: /home/cvs/jakarta-turbine/docs/install.html,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- install.html 2001/05/08 01:08:09 1.35
+++ install.html 2001/05/08 19:53:51 1.36
@@ -577,7 +577,7 @@
<table border="0" cellspacing="0"
cellpadding="2" width="100%">
<tr><td bgcolor="#525D76">
<font color="#ffffff" face="arial,helvetica,sanserif">
- <a name="Ant Tasks available in build-turbine.xml"><strong>Ant Tasks
available in build-turbine.xml</strong></a>
+ <a name="Ant Tasks available in build.xml"><strong>Ant Tasks available in
build.xml</strong></a>
</font>
</td></tr>
<tr><td>
@@ -586,17 +586,17 @@
The build-turbine.xml contains many Ant tasks. These are run by typing from the
command line;
<ul>
- build-turbine taskname
+ build taskname
</ul>
for example, to run the task which generates the turbine-pool.jar type;
<ul>
- build-turbine pool
+ build pool
</ul>
</p>
<p>
-Other Ant tasks in build-turbine.xml include;
+Other Ant tasks in build.xml include;
</p>
<p>
<ul>
1.34 +29 -0 jakarta-turbine/docs/peers.html
Index: peers.html
===================================================================
RCS file: /home/cvs/jakarta-turbine/docs/peers.html,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- peers.html 2001/05/08 01:08:10 1.33
+++ peers.html 2001/05/08 19:53:53 1.34
@@ -305,6 +305,35 @@
only common denominator.
</p>
<p>
+For example if you wish to set up the MapBuilder to take advantage of an
auto-incrementing Primary Key, you can change the entry in your MapBuilder class from;
+</p>
+ <div align="left">
+ <table cellspacing="4" cellpadding="0" border="0">
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <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>
+ tMap.setPrimaryKeyMethod(TableMap.IDBROKERTABLE);
+
+ to
+
+ tMap.setPrimaryKeyMethod(TableMap.AUTOINCREMENT);
+
+</pre></td>
+ <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ </table>
+ </div>
+ <p>
The ID Broker is used in the underlying Peer code. After you have set it
up you need not worry about it anymore.
</p>
1.38 +0 -0 jakarta-turbine/docs/pullmodel.html
Index: pullmodel.html
===================================================================
RCS file: /home/cvs/jakarta-turbine/docs/pullmodel.html,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- pullmodel.html 2001/05/08 01:08:11 1.37
+++ pullmodel.html 2001/05/08 19:53:54 1.38
@@ -153,7 +153,7 @@
<blockquote>
<p>By: <a href="mailto:[EMAIL PROTECTED]">Jon S.
Stevens</a>
<br />
-$Date: 2001/05/08 01:08:11 $
+$Date: 2001/05/08 19:53:54 $
</p>
<p>
This document is to explain a different type of philosophy for working with
1.24 +2 -2 jakarta-turbine/docs/python.html
Index: python.html
===================================================================
RCS file: /home/cvs/jakarta-turbine/docs/python.html,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- python.html 2001/05/08 01:08:11 1.23
+++ python.html 2001/05/08 19:53:56 1.24
@@ -200,8 +200,8 @@
the jpython.jar file into your turibe/lib directory. Now you need to
prepare and compile the jpython files like this:
<source>
- build-turbine prepare-python
- build-turbine jar
+ build prepare-python
+ build jar
</source>
This will create a new turbine library that contains the Python code.
You need to copy this new .jar file to your application's lib
1.16 +2 -2 jakarta-turbine/docs/turbine-documentation-project.html
Index: turbine-documentation-project.html
===================================================================
RCS file: /home/cvs/jakarta-turbine/docs/turbine-documentation-project.html,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- turbine-documentation-project.html 2001/05/08 01:08:13 1.15
+++ turbine-documentation-project.html 2001/05/08 19:53:58 1.16
@@ -367,13 +367,13 @@
build process. To do this cd to the build directory and run for Win32;
</p>
<p>
-<ul> build-turbine docs </ul>
+<ul> build docs </ul>
</p>
<p>
and for Unix;
</p>
<p>
-<ul> ./build-turbine.sh docs </ul>
+<ul> ./build.sh docs </ul>
</p>
<p>
This will transform all the XML files in the /jakarta-turbine/xdocs directory to
1.38 +38 -0 jakarta-turbine/docs/velocity-site.html
Index: velocity-site.html
===================================================================
RCS file: /home/cvs/jakarta-turbine/docs/velocity-site.html,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- velocity-site.html 2001/05/08 01:08:13 1.37
+++ velocity-site.html 2001/05/08 19:53:58 1.38
@@ -829,6 +829,44 @@
</blockquote>
</td></tr>
</table>
+ <table border="0" cellspacing="0"
cellpadding="2" width="100%">
+ <tr><td bgcolor="#525D76">
+ <font color="#ffffff" face="arial,helvetica,sanserif">
+ <a name="Multiple Velocity Paths"><strong>Multiple Velocity
Paths</strong></a>
+ </font>
+ </td></tr>
+ <tr><td>
+ <blockquote>
+ <p>
+The VelocityService can support many paths for the Velocity Templates to be loaded
and read from. This is specified in the TurbineResources.properties file;
+</p>
+ <div align="left">
+ <table cellspacing="4" cellpadding="0" border="0">
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <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>
+ services.VelocityService.file.resource.loader.path =
/templates,/my-templates,/more-tempates
+</pre></td>
+ <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ <tr>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ </tr>
+ </table>
+ </div>
+ <p>
+The multiple paths are comma delimited and are specified from the Servlet Engines
context.
+</p>
+ </blockquote>
+ </td></tr>
+ </table>
</td>
</tr>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]