org.apache.pluto.tags
Class BasicURLTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.pluto.tags.BasicURLTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
ActionURLTag, RenderURLTag

public abstract class BasicURLTag
extends javax.servlet.jsp.tagext.TagSupport

Supporting class for the actionURL and renderURL tag. Creates a url that points to the current Portlet and triggers an action request with the supplied parameters.

See Also:
Serialized Form

Nested Class Summary
static class BasicURLTag.TEI
           
 
Field Summary
protected  java.lang.String portletMode
           
protected  java.lang.String secure
           
protected  java.lang.Boolean secureBoolean
           
protected  javax.portlet.PortletURL url
           
protected  java.lang.String var
           
protected  java.lang.String windowState
           
 
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
BasicURLTag()
           
 
Method Summary
 int doEndTag()
           
abstract  int doStartTag()
          Processes the actionURL or renderURL tag.
 java.lang.String getPortletMode()
          Returns the portletMode.
 java.lang.String getSecure()
           
 boolean getSecureBoolean()
           
 javax.portlet.PortletURL getUrl()
           
 java.lang.String getVar()
          Returns the var.
 java.lang.String getWindowState()
          Returns the windowState.
 void setPortletMode(java.lang.String portletMode)
          Sets the portletMode.
 void setSecure(java.lang.String secure)
          Sets secure to boolean value of the string
 void setUrl(javax.portlet.PortletURL url)
          Sets the url.
 void setVar(java.lang.String var)
          Sets the var.
 void setWindowState(java.lang.String windowState)
          Sets the 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
 

Field Detail

portletMode

protected java.lang.String portletMode

secure

protected java.lang.String secure

secureBoolean

protected java.lang.Boolean secureBoolean

windowState

protected java.lang.String windowState

url

protected javax.portlet.PortletURL url

var

protected java.lang.String var
Constructor Detail

BasicURLTag

public BasicURLTag()
Method Detail

doStartTag

public abstract int doStartTag()
                        throws javax.servlet.jsp.JspException
Processes the actionURL or renderURL tag.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
int
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
int
Throws:
javax.servlet.jsp.JspException

getPortletMode

public java.lang.String getPortletMode()
Returns the portletMode.

Returns:
String

getSecure

public java.lang.String getSecure()
Returns:
secure as String

getSecureBoolean

public boolean getSecureBoolean()
Returns:
secure as Boolean

getWindowState

public java.lang.String getWindowState()
Returns the windowState.

Returns:
String

getUrl

public javax.portlet.PortletURL getUrl()
Returns:
PortletURL

getVar

public java.lang.String getVar()
Returns the var.

Returns:
String

setPortletMode

public void setPortletMode(java.lang.String portletMode)
Sets the portletMode.

Parameters:
portletMode - The portletMode to set

setSecure

public void setSecure(java.lang.String secure)
Sets secure to boolean value of the string

Parameters:
secure -

setWindowState

public void setWindowState(java.lang.String windowState)
Sets the windowState.

Parameters:
windowState - The windowState to set

setUrl

public void setUrl(javax.portlet.PortletURL url)
Sets the url.

Parameters:
url - The url to set

setVar

public void setVar(java.lang.String var)
Sets the var.

Parameters:
var - The var to set


Copyright © 2003-2010 . All Rights Reserved.