You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jo...@apache.org on 2001/03/22 09:40:38 UTC
cvs commit: jakarta-turbine/docs velocity-site.html
jon 01/03/22 00:40:37
Modified: docs velocity-site.html
Log:
html follows
Revision Changes Path
1.24 +4 -4 jakarta-turbine/docs/velocity-site.html
Index: velocity-site.html
===================================================================
RCS file: /home/cvs/jakarta-turbine/docs/velocity-site.html,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- velocity-site.html 2001/03/21 17:54:05 1.23
+++ velocity-site.html 2001/03/22 08:40:37 1.24
@@ -190,7 +190,7 @@
<td bgcolor="#ffffff"><pre>
// Velocity Stuff
-import org.apache.velocity.Context;
+import org.apache.velocity.context.Context;
// Turbine Stuff
import org.apache.turbine.util.RunData;
@@ -581,7 +581,7 @@
URI. For example:
</p>
<p>
-<u>http://www.server.com/servlet/Turbine/template/HelloWorld/action/UpdateWorld</u>
+<u>http://www.server.com/servlet/Turbine/template/HelloWorld.vm/action/UpdateWorld</u>
In this case, what happens is that the class UpdateWorld class (located in your
<em>WEB-INF/classes/PACKAGE/actions/</em> directory) is executed first before
anything. Then your HelloWorld class (located in your WEB-INF/classes/PACKAGE/screens/
@@ -609,7 +609,7 @@
<td bgcolor="#ffffff"><pre>
// Velocity Stuff
-import org.apache.velocity.Context;
+import org.apache.velocity.context.Context;
// Turbine Stuff
import org.apache.turbine.util.RunData;
@@ -619,7 +619,7 @@
{
public void doPerform( RunData data, Context context ) throws Exception
{
- if ( data.getParameter.getString("username",null) == null)
+ if ( data.getParameters().getString("username",null) == null)
{
data.setMessage("Username does not exist");
setTemplate ( data, "AddUser.vm" );
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org