Changes for page Click to Open

Last modified by Kieran Kelleher on 2012/07/21 20:41

From version 31.1
edited by chuckhill
on 2008/03/12 14:49
Change comment: Up to the Using... section
To version 37.1
edited by chuckhill
on 2008/03/12 14:32
Change comment: More edits

Summary

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("er.extensions.ERXApplication.developmentMode", false));
86 + isDevelopmentMode = new Boolean(ERXProperties.booleanForKey("developmentMode", false));
87 87   }
88 88   return isDevelopmentMode.booleanValue();
89 89  }
... ... @@ -122,47 +122,21 @@
122 122  
123 123  === Add WOLToolBar to Your Pages ===
124 124  
125 -In your page wrapper's HTML template, add
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.
126 126  
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 -
152 152  === Configure WOLips Server ===
153 153  
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.
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.
156 156  
157 -**Turning on the WOLips Server requires Eclipse to be restarted.**
158 -
159 159  [[image:WOLipsServerPreferences.png]]
160 160  
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 -
163 163  === Enable Click to Open ===
164 164  
165 -And add **-Der.component.clickToOpen=true** and **-Der.extensions.ERXApplication.developmentMode=true** to the launch arguments:
138 +And add this to the launch arguments:
139 +--DdevelopmentMode=true--
166 166  
167 167  [[image:EnableClickToOpen.png]]
168 168