Last modified by Klaus Berkling on 2012/06/20 12:13

From version 12.1
edited by Kieran Kelleher
on 2007/10/01 21:59
Change comment: There is no comment for this version
To version 10.1
edited by Kieran Kelleher
on 2007/10/01 21:58
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,7 @@
1 1  == Introduction ==
2 2  
3 3  So you have decided to take the plunge and take advantage of the many useful features of Project Wonder. The most common usage of Project Wonder is to simply integrate the Wonder foundation frameworks of ERJars, ERExtensions and JavaWOExtensions into your project. Doing this fixes many problems with the standard WebObjects frameworks and provides easy access to many configurable features that most typical WebObjects applications need.
4 -In this short article, we itemize the absolute minimum to add Wonder to your project and avoid initial integration stumbles.
4 +In this short article, we itemize the absolute minimum to add Wonder to your project and avoid problems.
5 5  
6 6  == Minimum Wonder Integration ==
7 7  
... ... @@ -10,7 +10,7 @@
10 10  * Make it so your Application class subclasses ERXApplication
11 11  * Make it so your Session class subclasses ERXSession
12 12  * Make it so your DirectAction classes extend ERXDirectAction
13 -* Your Application class' main static method **{+}must{+}** call ERXApplication.main(...) instead of WOApplication.main(...). Your application will fail to initialize and launch otherwise.
13 +* Your Application class' main static method __**must**+ call ERXApplication.main(...) instead of WOApplication.main(...). Your application will fail to initialize and launch otherwise.__
14 14  * Use ERXEC.newEditingContext() to create new editing contexts in your application
15 15  * Add minimal content to Properties file. To get minimal content, create a temporary empty project using the WOnderApplication WOLips project template and copy/paste the contents from that template's Properties file.
16 16  
... ... @@ -22,7 +22,7 @@
22 22  
23 23  {{code title="Application main method"}}
24 24  
25 -public static void main(String argv[]) {
25 + public static void main(String argv[]) {
26 26   ERXApplication.main(argv, Application.class);
27 27   }
28 28