public class OnlyofficeClientContext extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CLIENT_RESOURCE_PREFIX |
protected static String |
JAVASCRIPT
The Constant JAVASCRIPT.
|
protected static org.exoplatform.services.log.Log |
LOG |
| Modifier and Type | Method and Description |
|---|---|
static void |
callModule(String code)
Adds the script to be called on
onlyoffice module. |
static org.exoplatform.web.application.RequireJS |
requireJS()
Return Web UI app's RequireJS instance.
|
static void |
showError(String title,
String message) |
protected static final String JAVASCRIPT
protected static final String CLIENT_RESOURCE_PREFIX
protected static final org.exoplatform.services.log.Log LOG
public static void callModule(String code)
onlyoffice module. Finally it
will appear as onlyoffice.myMethod(...), where myMethod(...) it's what given as code parameter.code - the code of a method to invoke on onlyoffice modulepublic static org.exoplatform.web.application.RequireJS requireJS()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.