- Revision
- 206
- Author
- paul
- Date
- 2007-07-01 12:24:43 -0500 (Sun, 01 Jul 2007)
Log Message
upgrade paranamer
Modified Paths
- trunk/core/core.iml
- trunk/distribution/src/site/content/tutorial-one.html
- trunk/examples/freemarker-example/freemarker-example.iml
- trunk/examples/jruby-example/jruby-example.iml
- trunk/examples/migration-example/migration-example.iml
- trunk/examples/paranamer-example/paranamer-example.iml
- trunk/examples/simple-example/simple-example.iml
- trunk/extensions/webcontainer/webcontainer.iml
Diff
Modified: trunk/core/core.iml (205 => 206)
--- trunk/core/core.iml 2007-07-01 12:51:41 UTC (rev 205) +++ trunk/core/core.iml 2007-07-01 17:24:43 UTC (rev 206) @@ -80,7 +80,7 @@ <orderEntry type="module-library"> <library> <CLASSES> - <root url="" /> + <root url="" /> </CLASSES> <JAVADOC /> <SOURCES />
Modified: trunk/distribution/src/site/content/tutorial-one.html (205 => 206)
--- trunk/distribution/src/site/content/tutorial-one.html 2007-07-01 12:51:41 UTC (rev 205) +++ trunk/distribution/src/site/content/tutorial-one.html 2007-07-01 17:24:43 UTC (rev 206) @@ -6,7 +6,9 @@ <body> - <h2>Tutorial: Part One</h2><p>This tutorial is available to give a quick glimpse of how to use Waffle. It touches on each of the main components that make up Waffle.</p><h3>Controller</h3><p>The term <b>Controller</b> is probably familiar to those who have worked with other web frameworks. An Controller in Waffle can be any java object (i.e. Pojo). However, in order for a Pojo to be considered an Controller in Waffle it needs to be registered with the <b>Registrar</b>. The Registrar is a simple class that your application must implement. The Registrar provides a few methods that allows you to register your pojo's as Controllers. For complete details on the Registrar have a look at the <a href="" section.</p><p>Now we will write a very simple class to use as an Controller. The class below is really nothing more than a simple bean type of object.</p><div class="source"><pre>public class Automobile implements Serializable { + <h2>Tutorial: Part One</h2><p>This tutorial is available to give a quick glimpse of how to use Waffle. It touches on each of the main components that make up Waffle.</p><h3>Controller</h3> + <p>The term <b>Controller</b> is probably familiar to those who have worked with other web frameworks. An Controller in Waffle can be any java object (i.e. POJO). However, in order for a POJO to be considered an Controller in Waffle it needs to be registered with the <b>Registrar</b>. The Registrar is a simple class that your application must implement. The Registrar provides a few methods that allows you to register your pojo's as Controllers. For complete details on the Registrar have a look at the <a href="" section.</p> + <p>Now we will write a very simple class to use as an Controller. The class below is really nothing more than a simple bean type of object.</p><div class="source"><pre>public class Automobile implements Serializable { private String make = "ford"; private String model = "gt-40"; @@ -25,7 +27,9 @@ public void setModel(String model) { this.model = model; } -}</pre></div></div><h3>Registrar</h3><p>As stated earlier, a Controller is not an Controller in Waffle until it has been registered with the Registrar. So now we will create a simple Registrar class and register the <b>Automobile</b> class with it. The MyRegistrar class below defines the method "<b>session</b>" and within that method it calls <b>register("automobile", Automobile.class);</b>, which registers our Automobile class as an Controller under the name "automobile". Registration is not limited to Controllers because any component, service, factory, etc... can be registered. Detailed examples of this will be discussed later.</p><div class="source"><pre>public class MyRegistrar extends org.codehaus.waffle.registrar.AbstractRegistrar { +}</pre></div></div><h3>Registrar</h3> +<p>As stated earlier, a Controller is not active in Waffle until it has been registered with the Registrar. So now we will create a simple Registrar class and register the <b>Automobile</b> class with it. The MyRegistrar class below defines the method "<b>session</b>" and within that method it calls <b>register("automobile", Automobile.class);</b>, which registers our Automobile class as an Controller under the name "automobile". Registration is not limited to Controllers because any component, service, factory, etc... can be registered. Detailed examples of this will be discussed later.</p> +<div class="source"><pre>public class MyRegistrar extends org.codehaus.waffle.registrar.AbstractRegistrar { public MyRegistrar(Registrar delegate) { super(delegate);
Modified: trunk/examples/freemarker-example/freemarker-example.iml (205 => 206)
--- trunk/examples/freemarker-example/freemarker-example.iml 2007-07-01 12:51:41 UTC (rev 205) +++ trunk/examples/freemarker-example/freemarker-example.iml 2007-07-01 17:24:43 UTC (rev 206) @@ -22,7 +22,7 @@ <containerElement type="library" level="module"> <attribute name="method" value="0" /> <attribute name="URI" value="/WEB-INF/lib/paranamer-1.0-RC-3-SNAPSHOT.jar" /> - <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0-RC-3-SNAPSHOT/paranamer-1.0-RC-3-SNAPSHOT.jar!/</url> + <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0/paranamer-1.0.jar!/</url> </containerElement> <containerElement type="library" level="module"> <attribute name="method" value="0" /> @@ -171,7 +171,7 @@ <containerElement type="library" level="module"> <attribute name="method" value="0" /> <attribute name="URI" value="/WEB-INF/lib/paranamer-1.0-RC-3-SNAPSHOT.jar" /> - <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0-RC-3-SNAPSHOT/paranamer-1.0-RC-3-SNAPSHOT.jar!/</url> + <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0/paranamer-1.0.jar!/</url> </containerElement> <containerElement type="library" level="module"> <attribute name="method" value="0" />
Modified: trunk/examples/jruby-example/jruby-example.iml (205 => 206)
--- trunk/examples/jruby-example/jruby-example.iml 2007-07-01 12:51:41 UTC (rev 205) +++ trunk/examples/jruby-example/jruby-example.iml 2007-07-01 17:24:43 UTC (rev 206) @@ -27,7 +27,7 @@ <containerElement type="library" level="module"> <attribute name="method" value="0" /> <attribute name="URI" value="<N/A>" /> - <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0-RC-3-SNAPSHOT/paranamer-1.0-RC-3-SNAPSHOT.jar!/</url> + <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0/paranamer-1.0.jar!/</url> </containerElement> <containerElement type="library" level="module"> <attribute name="method" value="0" /> @@ -142,7 +142,7 @@ <containerElement type="library" level="module"> <attribute name="method" value="0" /> <attribute name="URI" value="<N/A>" /> - <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0-RC-3-SNAPSHOT/paranamer-1.0-RC-3-SNAPSHOT.jar!/</url> + <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0/paranamer-1.0.jar!/</url> </containerElement> <containerElement type="library" level="module"> <attribute name="method" value="0" />
Modified: trunk/examples/migration-example/migration-example.iml (205 => 206)
--- trunk/examples/migration-example/migration-example.iml 2007-07-01 12:51:41 UTC (rev 205) +++ trunk/examples/migration-example/migration-example.iml 2007-07-01 17:24:43 UTC (rev 206) @@ -51,7 +51,7 @@ <containerElement type="library" level="module"> <attribute name="method" value="0" /> <attribute name="URI" value="/WEB-INF/lib/paranamer-1.0-RC-3-SNAPSHOT.jar" /> - <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0-RC-3-SNAPSHOT/paranamer-1.0-RC-3-SNAPSHOT.jar!/</url> + <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0/paranamer-1.0.jar!/</url> </containerElement> <containerElement type="library" level="module"> <attribute name="method" value="1" />
Modified: trunk/examples/paranamer-example/paranamer-example.iml (205 => 206)
--- trunk/examples/paranamer-example/paranamer-example.iml 2007-07-01 12:51:41 UTC (rev 205) +++ trunk/examples/paranamer-example/paranamer-example.iml 2007-07-01 17:24:43 UTC (rev 206) @@ -22,7 +22,7 @@ <containerElement type="library" level="module"> <attribute name="method" value="0" /> <attribute name="URI" value="/WEB-INF/lib/paranamer-1.0-RC-3-SNAPSHOT.jar" /> - <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0-RC-3-SNAPSHOT/paranamer-1.0-RC-3-SNAPSHOT.jar!/</url> + <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0/paranamer-1.0.jar!/</url> </containerElement> <containerElement type="library" level="module"> <attribute name="method" value="0" /> @@ -132,7 +132,7 @@ <containerElement type="library" level="module"> <attribute name="method" value="0" /> <attribute name="URI" value="/WEB-INF/lib/paranamer-1.0-RC-3-SNAPSHOT.jar" /> - <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0-RC-3-SNAPSHOT/paranamer-1.0-RC-3-SNAPSHOT.jar!/</url> + <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0/paranamer-1.0.jar!/</url> </containerElement> <containerElement type="library" level="module"> <attribute name="method" value="0" /> @@ -276,7 +276,7 @@ <orderEntry type="module-library"> <library> <CLASSES> - <root url="" /> + <root url="" /> </CLASSES> <JAVADOC /> <SOURCES />
Modified: trunk/examples/simple-example/simple-example.iml (205 => 206)
--- trunk/examples/simple-example/simple-example.iml 2007-07-01 12:51:41 UTC (rev 205) +++ trunk/examples/simple-example/simple-example.iml 2007-07-01 17:24:43 UTC (rev 206) @@ -32,7 +32,7 @@ <containerElement type="library" level="module"> <attribute name="method" value="0" /> <attribute name="URI" value="/WEB-INF/lib/paranamer-1.0-RC-3-SNAPSHOT.jar" /> - <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0-RC-3-SNAPSHOT/paranamer-1.0-RC-3-SNAPSHOT.jar!/</url> + <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0/paranamer-1.0.jar!/</url> </containerElement> <containerElement type="library" level="module"> <attribute name="method" value="0" /> @@ -167,7 +167,7 @@ <containerElement type="library" level="module"> <attribute name="method" value="0" /> <attribute name="URI" value="/WEB-INF/lib/paranamer-1.0-RC-3-SNAPSHOT.jar" /> - <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0-RC-3-SNAPSHOT/paranamer-1.0-RC-3-SNAPSHOT.jar!/</url> + <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0/paranamer-1.0.jar!/</url> </containerElement> <containerElement type="library" level="module"> <attribute name="method" value="0" />
Modified: trunk/extensions/webcontainer/webcontainer.iml (205 => 206)
--- trunk/extensions/webcontainer/webcontainer.iml 2007-07-01 12:51:41 UTC (rev 205) +++ trunk/extensions/webcontainer/webcontainer.iml 2007-07-01 17:24:43 UTC (rev 206) @@ -127,7 +127,7 @@ <containerElement type="library" level="module"> <attribute name="method" value="0" /> <attribute name="URI" value="/WEB-INF/lib/paranamer-1.0-RC-3-SNAPSHOT.jar" /> - <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0-RC-3-SNAPSHOT/paranamer-1.0-RC-3-SNAPSHOT.jar!/</url> + <url>jar://$M2_REPOSITORY$/com/thoughtworks/paranamer/paranamer/1.0/paranamer-1.0.jar!/</url> </containerElement> <containerElement type="library" level="module"> <attribute name="method" value="1" />
To unsubscribe from this list please visit:
