|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.acsinet_solutions.cetia4.tags.support.LogBodyTagSupport
com.acsinet_solutions.cetia4.tags.support.AbstractLinkTag
public abstract class AbstractLinkTag
Support for classes that perform linking
| 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 | |
|---|---|
AbstractLinkTag()
|
|
| Method Summary | |
|---|---|
void |
addParameter(java.lang.String key,
java.lang.String value)
Append a parameter |
int |
doEndTag()
|
protected URLLink |
getLink()
Get the internal link reference. |
protected boolean |
isActionProvided()
Check if a link was explicitly provided |
void |
removeParameter(java.lang.String key)
Remove a parameter |
void |
setAction(java.lang.String action)
Sets the action, that is, the URL to which the link will be referred to. |
protected void |
setLink(URLLink link)
Allows subclasses to explicitly set the link. |
void |
setSection(java.lang.String section)
Sets the action section |
void |
writeBody()
Write the body of the tag. |
protected abstract 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.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, doStartTag, 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 |
|---|
public AbstractLinkTag()
| Method Detail |
|---|
public void setAction(java.lang.String action)
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspExceptionControllerTools.getSpecialLink(NavigationFlow,String)public final void setSection(java.lang.String section)
public void addParameter(java.lang.String key,
java.lang.String value)
ParameterAppender
addParameter in interface ParameterAppenderkey - A not-null String instancevalue - A not-null String instancepublic final void removeParameter(java.lang.String key)
ParameterAppender
removeParameter in interface ParameterAppender
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class LogBodyTagSupportjavax.servlet.jsp.JspExceptionBodyTagSupport
protected abstract void writeBody(javax.servlet.jsp.JspWriter writer,
java.lang.String body)
throws javax.servlet.jsp.JspException,
java.io.IOException
javax.servlet.jsp.JspException
java.io.IOExceptionprotected final boolean isActionProvided()
protected final void setLink(URLLink link)
protected final URLLink getLink()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public final void writeBody()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||