- Revision
- 309
- Author
- mauro
- Date
- 2007-08-15 11:44:58 -0500 (Wed, 15 Aug 2007)
Log Message
Fixed typos.
Modified Paths
- trunk/distribution/src/site/content/examples/hello-world.html
- trunk/distribution/src/site/content/examples/simple-calculator.html
Diff
Modified: trunk/distribution/src/site/content/examples/hello-world.html (308 => 309)
--- trunk/distribution/src/site/content/examples/hello-world.html 2007-08-15 02:04:24 UTC (rev 308) +++ trunk/distribution/src/site/content/examples/hello-world.html 2007-08-15 16:44:58 UTC (rev 309) @@ -39,7 +39,7 @@ <p> All Controllers need to be registered with Waffle. This is done through the Registrar. Line <b>9</b> in the - <i>MyRegistrar</i> class below registers the <i>HelloWorldAction</i> under the name <b>"helloworld"</b>. + <i>MyRegistrar</i> class below registers the <i>HelloWorldController</i> under the name <b>"helloworld"</b>. This Registrar will need to referenced in the <a href="" </p> @@ -51,7 +51,7 @@ } public void application() { - register("helloworld", HelloWorldAction.class); + register("helloworld", HelloWorldController.class); } } </textarea>
Modified: trunk/distribution/src/site/content/examples/simple-calculator.html (308 => 309)
--- trunk/distribution/src/site/content/examples/simple-calculator.html 2007-08-15 02:04:24 UTC (rev 308) +++ trunk/distribution/src/site/content/examples/simple-calculator.html 2007-08-15 16:44:58 UTC (rev 309) @@ -51,7 +51,7 @@ <h3>Registrar</h3> -<p>Registration is as you would expect. In this example the Action must be registered to the session level so that users +<p>Registration is as you would expect. In this example the Controller must be registered to the session level so that users are not sharing the same <i>result</i> property.</p> <textarea class="java:nogutter:nocontrols" name="code"> @@ -128,7 +128,7 @@ </textarea> <p>Lines <b>44 and 45</b> in the example above do not pragmatically define how their argument values are to be resolved. - So in order to handle this we can add an annotation to each of those methods in the Action. Below we have updated the + So in order to handle this we can add an annotation to each of those methods in the Controller. Below we have updated the CalculatorController with two <b>ActionMethod</b> annotations (lines 12 and 17).</p> <h3>Annotated Controller: CalculatorController</h3>
To unsubscribe from this list please visit:
