com.liferay.taglib.portletext
Class PreviewTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
              extended by com.liferay.taglib.util.IncludeTag
                  extended by com.liferay.taglib.portletext.PreviewTag
All Implemented Interfaces:
ParamAncestorTag, PropertyAncestorTag, com.sun.portal.portletcontainer.taglib.ParamBaseTag, com.sun.portal.portletcontainer.taglib.PropertyBaseTag, java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class PreviewTag
extends IncludeTag

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
 
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
 
Constructor Summary
PreviewTag()
           
 
Method Summary
 int doEndTag()
           
static void doTag(java.lang.String portletName, java.lang.String queryString, java.lang.String width, javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
static void doTag(java.lang.String page, java.lang.String portletName, java.lang.String queryString, java.lang.String width, javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  java.lang.String getDefaultPage()
           
 void setPortletName(java.lang.String portletName)
           
 void setQueryString(java.lang.String queryString)
           
 void setWidth(java.lang.String width)
           
 
Methods inherited from class com.liferay.taglib.util.IncludeTag
getPage, getServletContext, isTheme, setPage, setServletContext
 
Methods inherited from class com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
addParam, addProperty, clearParams, clearProperties, getParams, getProperties, getServletRequest, getServletResponse, include
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, 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
 

Constructor Detail

PreviewTag

public PreviewTag()
Method Detail

doTag

public static void doTag(java.lang.String portletName,
                         java.lang.String queryString,
                         java.lang.String width,
                         javax.servlet.ServletContext servletContext,
                         javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response)
                  throws java.io.IOException,
                         javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

doTag

public static void doTag(java.lang.String page,
                         java.lang.String portletName,
                         java.lang.String queryString,
                         java.lang.String width,
                         javax.servlet.ServletContext servletContext,
                         javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response)
                  throws java.io.IOException,
                         javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

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(java.lang.String portletName)

setQueryString

public void setQueryString(java.lang.String queryString)

setWidth

public void setWidth(java.lang.String width)

getDefaultPage

protected java.lang.String getDefaultPage()
Overrides:
getDefaultPage in class IncludeTag