Changes for page Click to Open

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

From version 57.1
edited by Pascal Robert
on 2012/07/21 20:41
Change comment: There is no comment for this version
To version 54.1
edited by David Holt
on 2010/08/11 22:12
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.probert
1 +XWiki.dholt
Content
... ... @@ -14,7 +14,7 @@
14 14  
15 15  {{code}}
16 16  
17 -public boolean clickToOpenEnabled(WOResponse response, WOContext context) {
17 + public boolean clickToOpenEnabled(WOResponse response, WOContext context) {
18 18   return false;
19 19   }
20 20  
... ... @@ -144,7 +144,7 @@
144 144  
145 145  {{/code}}
146 146  
147 -and you're done. If you don't have a [[page wrapper>>Development-Examples-Page Layout]], you will have to add this to every page. Hint: page wrappers make your life easier.
147 +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.
148 148  
149 149  If you are using the old WO template syntax, add this to the .html file:
150 150  
... ... @@ -184,6 +184,7 @@
184 184  
185 185  * Parameter = **Der.component.clickToOpen=true**, Argument = **true**
186 186  * Parameter = **Der.extensions.ERXApplication.developmentMode=true** Argument = **true**
187 +(needing to have "true" twice is a [[minor bug>>http://issues.objectstyle.org/jira/browse/WOL-787]]. The really important one is the first one)
187 187  
188 188  [[image:EnableClickToOpen.png]]
189 189