org.jasig.portal.portlet.delegation.jsp
Class ParentUrlTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.jasig.portal.portlet.delegation.jsp.ParentUrlTag
All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag, ParameterizableTag

public class ParentUrlTag
extends TagSupport
implements ParameterizableTag

Simple wrapper tag for setting up the basis of URLs for portlet delegation

Version:
$Revision$
Author:
Eric Dalquist
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
ParentUrlTag()
           
 
Method Summary
 void addParameter(String name, String value)
          Adds the name and value parameter pair.
 int doEndTag()
           
 int doStartTag()
           
 String getPortletMode()
           
 String getWindowState()
           
 void setPortletMode(String portletMode)
           
 void setWindowState(String windowState)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, 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

ParentUrlTag

public ParentUrlTag()
Method Detail

getPortletMode

public String getPortletMode()

setPortletMode

public void setPortletMode(String portletMode)
Parameters:
portletMode - The portletMode to set

getWindowState

public String getWindowState()

setWindowState

public void setWindowState(String windowState)
Parameters:
windowState - The windowState to set

doStartTag

public int doStartTag()
               throws JspException
Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class TagSupport
Throws:
JspException

doEndTag

public int doEndTag()
             throws JspException
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class TagSupport
Throws:
JspException

addParameter

public void addParameter(String name,
                         String value)
Description copied from interface: ParameterizableTag
Adds the name and value parameter pair. If the parameter already exists the value is added to the list of values for the parameters.

Specified by:
addParameter in interface ParameterizableTag


Copyright © 2010 Jasig. All Rights Reserved.