org.apache.pluto.driver.tags
Class PortletPortalURLTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.apache.pluto.driver.tags.PortletPortalURLTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class PortletPortalURLTag
extends javax.servlet.jsp.tagext.BodyTagSupport

The portlet URL tag is used to generate portal URL pointing to the current portlet with specified portlet mode and window state.

Since:
Oct 4, 2004
Version:
1.0
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
PortletPortalURLTag()
           
 
Method Summary
 int doStartTag()
          Creates the portal URL pointing to the current portlet with specified portlet mode and window state, and print the URL to the page.
 String getPortletMode()
           
 String getWindowState()
           
 void setPortletMode(String portletMode)
           
 void setWindowState(String windowState)
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, 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
 

Constructor Detail

PortletPortalURLTag

public PortletPortalURLTag()
Method Detail

getWindowState

public String getWindowState()

setWindowState

public void setWindowState(String windowState)

getPortletMode

public String getPortletMode()

setPortletMode

public void setPortletMode(String portletMode)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Creates the portal URL pointing to the current portlet with specified portlet mode and window state, and print the URL to the page.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException
See Also:
PortletTag


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.