Changes for page Click to Debug
Last modified by Kieran Kelleher on 2009/08/12 14:33
From version 11.1
edited by Chuck Hill
on 2008/12/15 15:27
on 2008/12/15 15:27
Change comment:
There is no comment for this version
To version 12.1
edited by Chuck Hill
on 2008/12/17 17:59
on 2008/12/17 17:59
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -75,7 +75,9 @@ 75 75 76 76 {{code value="java"}} 77 77 78 -protected void _debugValueForDeclarationNamed(WOComponent component, String verb, String aDeclarationName, String aDeclarationType, String aBindingName, String anAssociationDescription, Object aValue) { 78 +protected void _debugValueForDeclarationNamed(WOComponent component, String verb, String aDeclarationName, 79 + String aDeclarationType, String aBindingName, 80 + String anAssociationDescription, Object aValue) { 79 79 if (aValue instanceof String) { 80 80 StringBuffer stringbuffer = new StringBuffer(((String) aValue).length() + 2); 81 81 stringbuffer.append('"'); ... ... @@ -130,12 +130,14 @@ 130 130 * Little bit better binding debug output than the original. 131 131 */ 132 132 @Override 133 -public void logTakeValueForDeclarationNamed(String aDeclarationName, String aDeclarationType, String aBindingName, String anAssociationDescription, Object aValue) { 135 +public void logTakeValueForDeclarationNamed(String aDeclarationName, String aDeclarationType, 136 + String aBindingName, String anAssociationDescription, Object aValue) { 134 134 WOComponent component = ERXWOContext.currentContext().component(); 135 135 if (component.parent() != null) { 136 136 component = component.parent(); 137 137 } 138 - _debugValueForDeclarationNamed(component, " ==> ", aDeclarationName, aDeclarationType, aBindingName, anAssociationDescription, aValue); 141 + _debugValueForDeclarationNamed(component, " ==> ", aDeclarationName, 142 + aDeclarationType, aBindingName, anAssociationDescription, aValue); 139 139 } 140 140 141 141 /** ... ... @@ -142,12 +142,14 @@ 142 142 * Little bit better binding debug output than the original. 143 143 */ 144 144 @Override 145 -public void logSetValueForDeclarationNamed(String aDeclarationName, String aDeclarationType, String aBindingName, String anAssociationDescription, Object aValue) { 149 +public void logSetValueForDeclarationNamed(String aDeclarationName, String aDeclarationType, 150 + String aBindingName, String anAssociationDescription, Object aValue) { 146 146 WOComponent component = ERXWOContext.currentContext().component(); 147 147 if (component.parent() != null) { 148 148 component = component.parent(); 149 149 } 150 - _debugValueForDeclarationNamed(component, " <== ", aDeclarationName, aDeclarationType, aBindingName, anAssociationDescription, aValue); 155 + _debugValueForDeclarationNamed(component, " <== ", aDeclarationName, aDeclarationType, 156 + aBindingName, anAssociationDescription, aValue); 151 151 } 152 152 153 153 /** ... ... @@ -187,6 +187,26 @@ 187 187 188 188 == Using Click to Debug == 189 189 190 - Comingsoon196 +Run your application and look in the lower, left hand corner. You should see a link like this: 191 191 198 +[[image:Click to Open^ClickToOpenLink.png]] 199 + 200 +If you don't, check that the page has the WOLToolBar on it and that the ##er.component.clickToOpen## property is set to true and the ##er.extensions.ERXApplication.developmentMode## property is set to true. 201 + 202 +\\ 203 + 204 +Click on this component to open the Click to Open UI: 205 + 206 +[[image:Click to Open^WOLipsToolbar.png]] 207 + 208 +**EditDisplayAd** is the page in the browser. Click on this link to open this page in Eclipse. 209 + 210 +\\ 211 + 212 +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 213 + 214 +[[image:ClickToDebugInAction.png]] 215 + 216 +\\ 217 + 192 192 == ==