org.apache.struts.webapp.example2
Class LinkSubscriptionTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by org.apache.struts.webapp.example2.LinkSubscriptionTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag

public class LinkSubscriptionTag
extends javax.faces.webapp.UIComponentTag

Generate a URL-encoded hyperlink to the specified URI, with associated query parameters selecting a specified Subscription.

Version:
$Rev: 471754 $ $Date: 2006-11-06 08:55:09 -0600 (Mon, 06 Nov 2006) $
Author:
Craig R. McClanahan

Field Summary
protected  java.lang.String name
          The attribute name.
protected  java.lang.String page
          The context-relative URI.
 
Fields inherited from class javax.faces.webapp.UIComponentTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
LinkSubscriptionTag()
           
 
Method Summary
 java.lang.String getComponentType()
          Return the component type for this tag.
 java.lang.String getRendererType()
          Return the renderer type associated with this tag.
 void release()
          Release resources allocated to this tag instance.
 void setName(java.lang.String name)
           
 void setPage(java.lang.String page)
           
protected  void setProperties(javax.faces.component.UIComponent component)
          Override attributes set on this tag instance.
 
Methods inherited from class javax.faces.webapp.UIComponentTag
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
The attribute name.


page

protected java.lang.String page
The context-relative URI.

Constructor Detail

LinkSubscriptionTag

public LinkSubscriptionTag()
Method Detail

setName

public void setName(java.lang.String name)

setPage

public void setPage(java.lang.String page)

getComponentType

public java.lang.String getComponentType()
Return the component type for this tag.

Specified by:
getComponentType in class javax.faces.webapp.UIComponentTag

getRendererType

public java.lang.String getRendererType()

Return the renderer type associated with this tag.

Specified by:
getRendererType in class javax.faces.webapp.UIComponentTag

release

public void release()

Release resources allocated to this tag instance.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.faces.webapp.UIComponentTag

setProperties

protected void setProperties(javax.faces.component.UIComponent component)

Override attributes set on this tag instance.

Overrides:
setProperties in class javax.faces.webapp.UIComponentTag
Parameters:
component - Component whose attributes should be overridden


Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.