com.liferay.taglib.portletext
Class PreviewTag
java.lang.Object
com.liferay.portal.kernel.servlet.taglib.TagSupport
com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport
com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
com.liferay.taglib.util.AttributesTagSupport
com.liferay.taglib.util.IncludeTag
com.liferay.taglib.portletext.PreviewTag
- All Implemented Interfaces:
- ParamAncestorTag, PropertyAncestorTag, javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class PreviewTag
- extends IncludeTag
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Method Summary |
int |
doEndTag()
|
static void |
doTag(String portletName,
String queryString,
boolean showBorders,
String width,
javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
static void |
doTag(String page,
String portletName,
String queryString,
boolean showBorders,
String width,
javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected String |
getPage()
|
void |
setPortletName(String portletName)
|
void |
setQueryString(String queryString)
|
void |
setShowBorders(boolean showBorders)
|
void |
setWidth(String width)
|
Methods inherited from class com.liferay.taglib.util.IncludeTag |
callSetAttributes, cleanUp, cleanUpSetAttributes, doInclude, doIncludeTheme, doStartTag, getCustomPage, getEndPage, getOriginalServletRequest, getServletContext, getStartPage, include, isCleanUpSetAttributes, isTrimNewLines, isUseCustomPage, processEndTag, processStartTag, runEndTag, runStartTag, runTag, setAttributes, setCalledSetAttributes, setPage, setPortletId, setStrict, setUseCustomPage, themeResourceExists |
Methods inherited from class com.liferay.taglib.util.AttributesTagSupport |
clearDynamicAttributes, getAttributeNamespace, getCustomAttributes, getDynamicAttribute, getDynamicAttributes, getNamespacedAttribute, getScopedAttribute, getScopedAttributes, setAttributeNamespace, setCustomAttributes, setDynamicAttribute, setNamespacedAttribute, setScopedAttribute, writeDynamicAttributes |
Methods inherited from class com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl |
addParam, addProperty, clearParams, clearProperties, getParams, getProperties, getRemovedParameterNames, getServletRequest, getServletResponse, isAllowEmptyParam, setAllowEmptyParam, setServletContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreviewTag
public PreviewTag()
doTag
public static void doTag(String portletName,
String queryString,
boolean showBorders,
String width,
javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
doTag
public static void doTag(String page,
String portletName,
String queryString,
boolean showBorders,
String width,
javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Throws:
Exception
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class IncludeTag
- Throws:
javax.servlet.jsp.JspException
setPortletName
public void setPortletName(String portletName)
setQueryString
public void setQueryString(String queryString)
setShowBorders
public void setShowBorders(boolean showBorders)
setWidth
public void setWidth(String width)
getPage
protected String getPage()
- Overrides:
getPage
in class IncludeTag