org.apache.pluto.driver.tags
Class PortletTitleTag

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

public class PortletTitleTag
extends javax.servlet.jsp.tagext.TagSupport

The portlet title tag is used to print the dynamic portlet title to the page.

Since:
Oct 4, 2004
Version:
1.0
Author:
David H. DeWolf, ZHENG Zhong
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
PortletTitleTag()
           
 
Method Summary
 int doStartTag()
          Method invoked when the start tag is encountered.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletTitleTag

public PortletTitleTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Method invoked when the start tag is encountered. This method retrieves the portlet title and print it to the page.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException
See Also:
org.apache.pluto.services.PortalCallbackService#setTitle(HttpServletRequest, PortletWindow, String), PortalCallbackServiceImpl.setTitle(HttpServletRequest, PortletWindow, String)


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