Changes for page Click to Open
Last modified by Kieran Kelleher on 2012/07/21 20:41
From version 44.1
edited by David Avendasora
on 2008/04/18 10:08
on 2008/04/18 10:08
Change comment:
There is no comment for this version
To version 43.1
edited by chuckhill
on 2008/03/12 15:42
on 2008/03/12 15:42
Change comment:
ERXExtentions.framework redux
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. avendasora1 +XWiki.chuckhill - Content
-
... ... @@ -1,18 +1,18 @@ 1 1 == What It Is == 2 2 3 -Click to Open (C2O) allows you to open components in Eclipse directly from the running application in your browser Click to Open appears in the lower left corner of browser as part of the pages of your running application. Clicking on this component, and then on an object in the browser window, opens the relevant WOComponent in Eclipse. This makes life easier for UI designers and for developers getting familiar with new projects. It also provides some other very slick debugging tools. 3 +Click to Open (C2O) allows you to open components in Eclipse directly from the running application in your browser! Click to Open appears in the lower left corner of browser as part of the pages of your running application. Clicking on this component, and then on an object in the browser window, opens the relevant WOComponent in Eclipse. This makes life easier for UI designers and for developers getting familiar with new projects. It also provides some other very slick debugging tools. 4 4 5 5 Check out the [[screencast at the mDimension build site>>http://webobjects.mdimension.com/wolips/preview/WOLipsFramework.m4v]] 6 6 7 7 Click to Open is a browser based extension to WOLips found in [[Project Wonder>>WONDER:Home]]. All of the Wonder ERD2W components support Click to Open. 8 8 9 -**Note that click-to-open support is expensive, because it has to dig around your component HTML quite a bit, so you will take a performance hit in development to have it enabled.** 9 +**Note that click-to-open support is expensive, because it has to dig around your component HTML quite a bit, so you will take a performance hit in development to have it enabled.** 10 10 11 11 == What You Need == 12 12 13 -You need the **WOLips** framework that is part of Project Wonder. You also need the **ERExtensions** framework that is part of Project Wonder on the class path at runtime. If you already use Project Wonder, you a re almost done.13 +You need the **WOLips** framework that is part of Project Wonder. You also need the **ERExtensions** framework that is part of Project Wonder on the class path at runtime. If you already use Project Wonder, are you almost done. 14 14 15 -If you are not using Project Wonder, you can download it from [[mDimension's site>>http://webobjects.mdimension.com/wonder/]], untar the frameworks, and copy just the WOLips.framework and ERExtensions.framework to where you have the rest of your frameworks (usually /Library /Frameworksor /Library/Frameworks).15 +If you are not using Project Wonder, you can download it from [[mDimension's site>>http://webobjects.mdimension.com/wonder/]], untar the frameworks, and copy just the WOLips.framework and ERExtensions.framework to where you have the rest of your frameworks (usually /Library or ,,/Library).,, 16 16 17 17 == Getting Set Up == 18 18 ... ... @@ -26,7 +26,7 @@ 26 26 27 27 If you don't have a custom component base class, you really should. Using com.webobjects.appserver.WOComponent as the super-class for your pages and components is just going to leave you doing the same things over and over. If you don't have one, you might want to start using the ClickToOpenComponent below. 28 28 29 -You will need to add the appendToResponse(WOResponse, WOContext) method below to your component base class, or add this code to your appendToResponse method if you already have one. 29 +You will need to add the appendToResponse(WOResponse, WOContext) method below to your component base class, or add this code to your appendToResponse method if you already have one. 30 30 31 31 Here is an example implementation of a component base class and of Click to Open support: 32 32 ... ... @@ -153,7 +153,7 @@ 153 153 154 154 === Configure WOLips Server === 155 155 156 -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 password. This password must match the ##wolips.password## in the **Set Application Properties** section above. 156 +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 password. This password must match the ##wolips.password## in the **Set Application Properties** section above. 157 157 158 158 **Turning on the WOLips Server requires Eclipse to be restarted.** 159 159 ... ... @@ -163,17 +163,8 @@ 163 163 164 164 === Enable Click to Open === 165 165 166 - Ifyouareusing Wonder,addthefollowingtoyourPropertiesfile:166 +And add **-Der.component.clickToOpen=true** and **-Der.extensions.ERXApplication.developmentMode=true** to the launch arguments: 167 167 168 -* er.component.clickToOpen=true 169 -* er.extensions.ERXApplication.developmentMode=true 170 - 171 -If you are not using Wonder, add the Launch parameters as follows: 172 - 173 -* Parameter = **Der.component.clickToOpen=true**, Argument = **true** 174 -* Parameter = **Der.extensions.ERXApplication.developmentMode=true** Argument = **true** 175 - (needing to have "true" twice is a minor bug, the really important one is the first one) 176 - 177 177 [[image:EnableClickToOpen.png]] 178 178 179 179 == Using Click to Open == ... ... @@ -190,11 +190,11 @@ 190 190 191 191 [[image:ClickToOpenExpanded.png]] 192 192 193 -**EditDisplayAd** is the page in the browser. Click on this link to open this page in Eclipse. 184 +**EditDisplayAd** is the page in the browser. Click on this link to open this page in Eclipse. 194 194 195 195 \\ 196 196 197 -If you are looking for a sub-component of this page, click on the **Click to Open** link. As you move your mouse over the page, the bread crumb of components will change to show you where you are. Just click to open the component under the mouse in Eclipse. It is that easy 188 +If you are looking for a sub-component of this page, click on the **Click to Open** link. As you move your mouse over the page, the bread crumb of components will change to show you where you are. Just click to open the component under the mouse in Eclipse. It is that easy! 198 198 199 199 [[image:ClickToOpenInAction.png]] 200 200 ... ... @@ -206,4 +206,4 @@ 206 206 * hold down the Cmd key while you move the mouse around and it will highlight the component 207 207 * Cmd-click it will popup the stack of components and you can pick from the stack: 208 208 [[image:ComponentStack.png]] 209 -* you can setthe binding ##expanded=true;## on WOLToolBar so it's open by default, instead of closed200 +* you can the binding ##expanded=true;## on WOLToolBar so it's open by default, instead of closed