Liferay 6.1.2-ce-ga3

com.liferay.taglib.portletext
Class PreviewTag

java.lang.Object
  extended by com.liferay.portal.kernel.servlet.taglib.TagSupport
      extended by com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport
          extended by com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
              extended by com.liferay.taglib.util.AttributesTagSupport
                  extended by com.liferay.taglib.util.IncludeTag
                      extended by 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


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport
bodyContent
 
Fields inherited from class com.liferay.portal.kernel.servlet.taglib.TagSupport
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
PreviewTag()
           
 
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 com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport
doAfterBody, doInitBody, getBodyContent, getBodyContentAsStringBundler, release, setBodyContent, writeBodyContent
 
Methods inherited from class com.liferay.portal.kernel.servlet.taglib.TagSupport
findAncestorWithClass, getParent, setPageContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreviewTag

public PreviewTag()
Method Detail

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

Liferay 6.1.2-ce-ga3