com.liferay.taglib.portletext
Class PreviewTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport
com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
com.liferay.taglib.util.IncludeTag
com.liferay.taglib.portletext.PreviewTag
- All Implemented Interfaces:
- ParamAncestorTag, PropertyAncestorTag, Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class PreviewTag
- extends IncludeTag
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
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,
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,
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 |
setWidth(String width)
|
Methods inherited from class com.liferay.taglib.util.IncludeTag |
cleanUp, doStartTag, getDynamicAttributes, getEndPage, getServletContext, getStartPage, include, isCleanUpSetAttributes, isTrimNewLines, runEndTag, runStartTag, runTag, setAttributes, setDynamicAttribute, setPage, setPortletId |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
PreviewTag
public PreviewTag()
doTag
public static void doTag(String portletName,
String queryString,
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,
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)
setWidth
public void setWidth(String width)
getPage
protected String getPage()
- Overrides:
getPage
in class IncludeTag