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
on 2012/07/21 20:41
Change comment:
There is no comment for this version
To version 55.1
edited by Marc Guenther
on 2010/01/25 12:44
on 2010/01/25 12:44
Change comment:
fix wrong method call: getBoolean() -> parseBoolean()
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. probert1 +XWiki.marc - Content
-
... ... @@ -8,18 +8,6 @@ 8 8 9 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 -Also note that if you use ERExcelLook or ERPDFGeneration that you will want to disable Click to Open in development. The former you can do in a rule: {{code}}*10 : pageConfiguration like '*Excel' => clickToOpenEnabled = "false" [com.webobjects.directtoweb.BooleanAssignment]{{/code}} 12 - 13 -The latter in your component: 14 - 15 -{{code}} 16 - 17 -public boolean clickToOpenEnabled(WOResponse response, WOContext context) { 18 - return false; 19 - } 20 - 21 -{{/code}} 22 - 23 23 == What You Need == 24 24 25 25 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 are almost done. ... ... @@ -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. 135 +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** 175 + (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