Class WebUIUtils
java.lang.Object
org.exoplatform.forum.common.webui.WebUIUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.exoplatform.web.application.RequireJSaddScripts(String[] scripts) static org.exoplatform.web.application.RequireJSaddScripts(String module, String alias) static org.exoplatform.web.application.RequireJSaddScripts(String module, String alias, String... scripts) static StringattachJSSyntaxHighlighter(List<String> languageOption) Attach the list javaScript files of SyntaxHighlighterstatic Stringstatic StringgetLabelEscapedJavaScript(String componentId, String label) static Stringstatic org.exoplatform.social.core.space.model.Space
-
Constructor Details
-
WebUIUtils
public WebUIUtils()
-
-
Method Details
-
getRemoteIP
-
getLabel
- Throws:
Exception
-
getLabel
-
getLabelEscapedJavaScript
-
addScripts
-
addScripts
-
addScripts
-
attachJSSyntaxHighlighter
Attach the list javaScript files of SyntaxHighlighter- Parameters:
languageOption- The list of files name javaScript- Returns:
- The list files attach for SyntaxHighlighter
-
getSpaceByContext
public static org.exoplatform.social.core.space.model.Space getSpaceByContext()
-