com.liferay.taglib.util
Class ThemeUtil
java.lang.Object
com.liferay.taglib.util.ThemeUtil
public class ThemeUtil
- extends Object
Method Summary |
protected static String |
doDispatch(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.jsp.PageContext pageContext,
String path,
Theme theme,
boolean write,
String extension)
|
protected static String |
doIncludeFTL(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.jsp.PageContext pageContext,
String path,
Theme theme,
boolean write)
|
protected static void |
doIncludeJSP(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String path,
Theme theme)
|
protected static String |
doIncludeVM(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.jsp.PageContext pageContext,
String page,
Theme theme,
boolean write)
|
static String |
getPortletId(javax.servlet.http.HttpServletRequest request)
|
static void |
include(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.jsp.PageContext pageContext,
String path,
Theme theme)
|
static String |
includeFTL(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.jsp.PageContext pageContext,
String path,
Theme theme,
boolean write)
|
static void |
includeJSP(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String path,
Theme theme)
|
static String |
includeVM(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.jsp.PageContext pageContext,
String path,
Theme theme,
boolean write)
|
protected static void |
insertTilesVariables(javax.servlet.http.HttpServletRequest request)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThemeUtil
public ThemeUtil()
getPortletId
public static String getPortletId(javax.servlet.http.HttpServletRequest request)
include
public static void include(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.jsp.PageContext pageContext,
String path,
Theme theme)
throws Exception
- Throws:
Exception
includeFTL
public static String includeFTL(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.jsp.PageContext pageContext,
String path,
Theme theme,
boolean write)
throws Exception
- Throws:
Exception
includeJSP
public static void includeJSP(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String path,
Theme theme)
throws Exception
- Throws:
Exception
includeVM
public static String includeVM(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.jsp.PageContext pageContext,
String path,
Theme theme,
boolean write)
throws Exception
- Throws:
Exception
doDispatch
protected static String doDispatch(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.jsp.PageContext pageContext,
String path,
Theme theme,
boolean write,
String extension)
throws Exception
- Throws:
Exception
doIncludeFTL
protected static String doIncludeFTL(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.jsp.PageContext pageContext,
String path,
Theme theme,
boolean write)
throws Exception
- Throws:
Exception
doIncludeJSP
protected static void doIncludeJSP(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String path,
Theme theme)
throws Exception
- Throws:
Exception
doIncludeVM
protected static String doIncludeVM(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.jsp.PageContext pageContext,
String page,
Theme theme,
boolean write)
throws Exception
- Throws:
Exception
insertTilesVariables
protected static void insertTilesVariables(javax.servlet.http.HttpServletRequest request)