public class WebUIUtils extends Object
| Constructor and Description |
|---|
WebUIUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.exoplatform.web.application.RequireJS |
addScripts(String[] scripts) |
static org.exoplatform.web.application.RequireJS |
addScripts(String module,
String alias) |
static org.exoplatform.web.application.RequireJS |
addScripts(String module,
String alias,
String... scripts) |
static String |
attachJSSyntaxHighlighter(List<String> languageOption)
Attach the list javaScript files of SyntaxHighlighter
|
String |
getLabel(String key) |
static String |
getLabel(String componentId,
String label) |
static String |
getLabelEscapedJavaScript(String componentId,
String label) |
static String |
getRemoteIP() |
static org.exoplatform.social.core.space.model.Space |
getSpaceByContext() |
public static String getRemoteIP()
public static String getLabelEscapedJavaScript(String componentId, String label)
public static org.exoplatform.web.application.RequireJS addScripts(String module, String alias)
public static org.exoplatform.web.application.RequireJS addScripts(String[] scripts)
public static org.exoplatform.web.application.RequireJS addScripts(String module, String alias, String... scripts)
public static String attachJSSyntaxHighlighter(List<String> languageOption)
languageOption - The list of files name javaScriptpublic static org.exoplatform.social.core.space.model.Space getSpaceByContext()
Copyright © 2003–2023 eXo Platform SAS. All rights reserved.