com.acsinet_solutions.cetia4.tags
Class LinkTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by com.acsinet_solutions.cetia4.tags.support.LogBodyTagSupport
              extended by com.acsinet_solutions.cetia4.tags.support.AbstractLinkTag
                  extended by com.acsinet_solutions.cetia4.tags.LinkTag
All Implemented Interfaces:
AttributeKeys, ControllerConstants, ParameterAppender, java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
Direct Known Subclasses:
LinkTag

public class LinkTag
extends AbstractLinkTag

Implementation of a simple link tag. Relative links are prepended with the context path reference.

Author:
Santiago Arriaga
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 com.acsinet_solutions.cetia4.controller.ControllerConstants
_METHOD_PARAM, _PAGE_PARAM, _ROOT_PARAM, DEFAULT_VIEW, ERROR_URL, ERROR_VIEW, LOAD_CANCEL, LOAD_CURRENT, LOAD_DEFAULT, LOAD_ERROR, LOAD_PREVIOUS
 
Fields inherited from interface com.acsinet_solutions.cetia4.controller.AttributeKeys
_BUNDLE_KEY, _CONFIGURATION_KEY, _DEFAULT_CONTROLLER_KEY, _FORM_ACTION_KEY, _FORM_ATTRIBUTE_KEY, _LOCALE_KEY, _MESSAGE_KEY, _NAVIGATION_FLOW_KEY, _PORTAL_PATH_KEY, _RENDER_PARAMETERS_KEY, _SERVICE_LOCATOR_KEY, _SESSION_KEY, _SYSTEM_EXCEPTION_KEY, _VALIDATION_EXCEPTION_KEY
 
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
LinkTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 void setPadding(java.lang.Object padding)
          Padding setter "true" or "false"; false by default.
protected  void writeBody(javax.servlet.jsp.JspWriter writer, java.lang.String body)
          Write the body to the JSP output
 
Methods inherited from class com.acsinet_solutions.cetia4.tags.support.AbstractLinkTag
addParameter, getLink, isActionProvided, removeParameter, setAction, setLink, setSection, writeBody
 
Methods inherited from class com.acsinet_solutions.cetia4.tags.support.LogBodyTagSupport
doCatch, doFinally, fillDynamicValues, fillDynamicValues, getConfiguration, getDynamicAttributes, getLocale, getLogger, getPortalPath, getRequest, getServletContext, getSession, setDynamicAttribute
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, 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

LinkTag

public LinkTag()
Method Detail

setPadding

public final void setPadding(java.lang.Object padding)
Padding setter "true" or "false"; false by default.


writeBody

protected final void writeBody(javax.servlet.jsp.JspWriter writer,
                               java.lang.String body)
                        throws javax.servlet.jsp.JspException,
                               java.io.IOException
Description copied from class: AbstractLinkTag
Write the body to the JSP output

Specified by:
writeBody in class AbstractLinkTag
Throws:
javax.servlet.jsp.JspException
java.io.IOException

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
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 AbstractLinkTag
Throws:
javax.servlet.jsp.JspException
See Also:
BodyTagSupport