Changes for page Click to Open
Last modified by Kieran Kelleher on 2012/07/21 20:41
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -83,7 +83,7 @@ 83 83 private Boolean isDevelopmentMode; 84 84 public boolean developmentMode() { 85 85 if (isDevelopmentMode == null) { 86 - isDevelopmentMode = new Boolean(ERXProperties.booleanForKey("developmentMode", false)); 86 + isDevelopmentMode = new Boolean(ERXProperties.booleanForKey("er.extensions.ERXApplication.developmentMode", false)); 87 87 } 88 88 return isDevelopmentMode.booleanValue(); 89 89 } ... ... @@ -122,21 +122,47 @@ 122 122 123 123 === Add WOLToolBar to Your Pages === 124 124 125 -5) In your page wrapper, add a <wo:WOLToolBar/> component, and you're good to go. Look in the lower 126 -left hand corner of the browser window for the link. 125 +In your page wrapper's HTML template, add 127 127 127 +{{code value="html"}} 128 + 129 +<wo:WOLToolBar/> 130 + 131 +{{/code}} 132 + 133 +and you're done. If you don't have a [[page wrapper>>WO:Web Applications-Development-Examples-Page Layout]], you will have to add this to every page. Hint: page wrappers make your life easier. 134 + 135 +If you are using the old WO template syntax, add this to the .html file: 136 + 137 +{{code value="html"}} 138 + 139 +<webobject name="WOLToolBar" /> 140 + 141 +{{/code}} 142 + 143 +And add this to the .wod file: 144 + 145 +{{code value="html"}} 146 + 147 +WOLToolBar: WOLToolBar{ 148 +} 149 + 150 +{{/code}} 151 + 128 128 === Configure WOLips Server === 129 129 130 -You must be using a recent version of WOLips that supports the WOLips Server. In 131 -your WOLips preferences, you must enable the WOLips Server, set the port number and the communication 132 -password. Turning on the WOLips Server requires a restart of WOLips. 154 +You must be using a recent version of WOLips that supports the **WOLips Server**. In your WOLips preferences, you must enable the WOLips Server and set the communication 155 +password. 133 133 157 +**Turning on the WOLips Server requires Eclipse to be restarted.** 158 + 134 134 [[image:WOLipsServerPreferences.png]] 135 135 161 +You can optionally change the port number. If you do change the port number, see ##wolips.port## in the **Set Application Properties** section above. 162 + 136 136 === Enable Click to Open === 137 137 138 -And add this to the launch arguments: 139 ---DdevelopmentMode=true-- 165 +And add **-Der.component.clickToOpen=true** and **-Der.extensions.ERXApplication.developmentMode=true** to the launch arguments: 140 140 141 141 [[image:EnableClickToOpen.png]] 142 142