jford 2004/04/09 07:55:44
Modified: tutorial/xdocs/13 mvcintro.xml
Log:
Minor updates
Revision Changes Path
1.4 +5 -3 jakarta-jetspeed/tutorial/xdocs/13/mvcintro.xml
Index: mvcintro.xml
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/tutorial/xdocs/13/mvcintro.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mvcintro.xml 8 Apr 2004 21:53:27 -0000 1.3
+++ mvcintro.xml 9 Apr 2004 14:55:44 -0000 1.4
@@ -225,7 +225,8 @@
</p>
<hr />
-<code>
+<p>
+<source>
Customer customer = CustomerPeer.retrieveByPK(primaryKey);
context.put("customer", customer);
@@ -235,8 +236,9 @@
List subscriptions = SubscriptionPeer.doSelect(criteria);
context.put("subscriptions", subscriptions);
-</code>
-<p>This example is not included with the examples source code distribution.</p>
+</source>
+This example is not included with the examples source code distribution.
+</p>
<p>There is another tutorial on Velocity at <a
href="http://www.javaworld.com/javaworld/jw-12-2001/jw-1228-velocity-p2.html">Java
World</a>.
Now that we have a basic understanding of the Velocity context and templates, let's
get back to the Velocity Portlet.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]