Changes for page Development-General Best Practices
Last modified by Pascal Robert on 2013/08/20 19:43
From version 7.1
edited by Pascal Robert
on 2010/09/13 00:36
on 2010/09/13 00:36
Change comment:
There is no comment for this version
To version 8.1
edited by Pascal Robert
on 2010/09/13 00:36
on 2010/09/13 00:36
Change comment:
Migrated to Confluence 4.0
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -16,7 +16,7 @@ 16 16 17 17 If you have WORepetitions, confirm that none of your code changes the sizes of those arrays or indexes on which their sizes depend between your activation of super.appendToResponse and the completion of the corresponding invokeAction for that page. 18 18 19 -For a deeper explanation of this process and its ramifications, see In particular, read the last paragraph, and the following page [[DevGuide-WOClasses>>http://developer.apple.com/documentation/LegacyTechnologies/WebObjects/WebObjects_4.5/System/Documentation/Developer/WebObjects/DevGuide/WOClasses21.html||title="http://developer.apple.com/documentation/LegacyTechnologies/WebObjects/WebObjects_4.5/System/Documentation/Developer/WebObjects/DevGuide/WOClasses20.html"]].. In this latter page, pay close attention to the second to last paragraph. 19 +For a deeper explanation of this process and its ramifications, see [In particular, read the last paragraph, and the following page [[DevGuide-WOClasses>>url:http://developer.apple.com/documentation/LegacyTechnologies/WebObjects/WebObjects_4.5/System/Documentation/Developer/WebObjects/DevGuide/WOClasses21.html||title="http://developer.apple.com/documentation/LegacyTechnologies/WebObjects/WebObjects_4.5/System/Documentation/Developer/WebObjects/DevGuide/WOClasses20.html" shape="rect"]].]. In this latter page, pay close attention to the second to last paragraph. 20 20 21 21 == Creating WOComponents == 22 22 ... ... @@ -36,7 +36,7 @@ 36 36 37 37 {{/code}} 38 38 39 -The class.getName() allows Eclipse to do proper refactoring and you can right click=>References=>Workspace your class and truly find all the references vs just having a string references. One other advantage that it has is that if you have two pages with the same name but in different packages, this avoids confusion. If you just use pageWithName("MyNewPage" ;-), WO can return the wrong one. Minor change but really nice benefits.39 +The class.getName() allows Eclipse to do proper refactoring and you can right click=>References=>Workspace your class and truly find all the references vs just having a string references. One other advantage that it has is that if you have two pages with the same name but in different packages, this avoids confusion. If you just use pageWithName("MyNewPage" , WO can return the wrong one. Minor change but really nice benefits. 40 40 41 41 If you use 1.5, you can use the 1.5 variation: 42 42 ... ... @@ -97,6 +97,6 @@ 97 97 === Except === 98 98 99 99 * This does not address the related issue when property names are used in bindings in a wod file 100 -* This does not work in the (admittedly rare) case where one class implements multiple entities. EOGenerator assumes one entity == one class. So, MyEO.ENTITY //NAME will return the name of the last entity to get generated.//100 +* This does not work in the (admittedly rare) case where one class implements multiple entities. EOGenerator assumes one entity == one class. So, MyEO.ENTITY_NAME will return the name of the last entity to get generated. 101 101 102 -See the [[EOGenerator>>WO :EOF-Using EOF-EOGenerator]] page for more similar tricks.102 +See the [[EOGenerator>>doc:WO.EOF-Using EOF-EOGenerator]] page for more similar tricks.