Some minor changes to the Peers How-to, typos, removal of obsolete references, adding 
links:

RCS file: /home/cvspublic/jakarta-turbine/xdocs/howto/peers-howto.xml,v
retrieving revision 1.8
diff -d -r1.8 peers-howto.xml
25,26c25,26
< you can read the Database Adapter docs on how to create a new adaptor for
< your database.
---
> you can read the <a href="../db-adapters.html">Database Adapter</a> docs on 
> how to create a new adaptor for your database.
262,266c262,265
< Peer classes are typically generated by invoking one of the
< <i>build-project</i> scripts that are provided by the TDK. On a unix
< host, for example, the relevant script is called
< <code>build-project.sh</code> and this should be invoked with the
< <code>init</code> argument to generate the peers.
---
> Peer classes are typically generated by invoking the init task in
> the ant build file (build.xml) provided with an application generated by
> the TDK. This file is located in the WEB-INF/build directory of a generated 
> application.
272,273c271,273
< is included with the TDK. For the schema described above, the XML would
< look something like
---
> is included with the TDK. In the TDK, the project schema is located in
> the WEB-INF/conf directory of the project in a file called 
><i>project</i>-schema.xml.</p>
> <p>For the schema described above, the XML would look something like
391c391
< must add and id column if you wish to do Updates.
---
> must add an id column if you wish to do updates.
397c397
< Deletes work much in the same way than a select. If you for example
---
> Deletes work much in the same way as a select. If you, for example,
412c412
< In this doc I'm going to try and explain a bit more about using Peers than
---
> In this section I'm going to try and explain a bit more about using Peers than
420c420
< The <a href="classhierarchy.html">Class Hierarchy</a> document provides
---
> The <a href="../classhierarchy.html">Class Hierarchy</a> document provides
429c429
< Usually when we begin to extra code for Peer classes we end up with the
---
> Usually when we begin to add extra code for Peer classes we end up with the
449,450c449
< Using the example in the <a href="peers.html">Peers docs</a> we are
< going to create new classes for the Category and Item tables.
---
> Here's how we are create new classes for the Category and Item tables.
462c461
< public class ItemPeer extends ItemPeer
---
> public class MyItemPeer extends ItemPeer
539c538
< Sometimes you would like to have relations between tables to be available
---
> Sometimes you would like to have relations between tables be available
574c573
< CategoryPeer.addSelectColumns ( criteria )
---
> CategoryPeer.addSelectColumns ( criteria );
591c590
< ("com.mycompany.om.MyItem"))
---
> ("com.mycompany.om.MyItem"));
597c596
< ("com.mycompany.om.MyCategory"))
---
> ("com.mycompany.om.MyCategory"));


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to