org.dbforms.taglib
Class DbRedirectURLTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.dbforms.taglib.AbstractScriptHandlerTag
org.dbforms.taglib.AbstractDbBaseHandlerTag
org.dbforms.taglib.DbLinkURLTag
org.dbforms.taglib.DbRedirectURLTag
- All Implemented Interfaces:
- Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
public class DbRedirectURLTag
- extends DbLinkURLTag
- implements javax.servlet.jsp.tagext.TryCatchFinally
the 3 examples below produce all the same result
<linkURL href="customer.jsp" table="customer" position="1:2:12-3:4:1992"
/>
<linkURL href="customer.jsp" table="customer" position="<%= currentKey
%>" />
<linkURL href="customer.jsp" table="customer" /> <position
fieldName="id" value="103" /> <position fieldName="cust_lang"
value="2" /> </linkURL>
result (off course without the line feeds)
/servlet/control?
ac_goto_x=t&
data_ac_goto_x_fu=/customer.jsp&
data_ac_goto_x_destTable=17&
data_ac_goto_x_destPos=103~2
Use it like this:
some text
- Author:
- Neal Katz , based on work from Joachim Peer
- See Also:
- Serialized Form
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 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 |
Methods inherited from class org.dbforms.taglib.DbLinkURLTag |
addPositionPart, getChildField, getDestPos, getHref, getKeyToDestPos, getKeyToKeyToDestPos, getParentField, getPosition, getSingleRow, getTable, makeUrl, setChildField, setDestPos, setHref, setKeyToDestPos, setKeyToKeyToDestPos, setParentField, setPosition, setSingleRow, setTableName |
Methods inherited from class org.dbforms.taglib.AbstractDbBaseHandlerTag |
customFormat, escapeHTML, getCustomFormatter, getDefaultValue, getEscaper, getEscaperClass, getField, getFieldObject, getFieldValue, getFormattedFieldValue, getFormatter, getFormFieldDefaultValue, getFormFieldName, getFormFieldValue, getLocale, getMaxlength, getName, getParentForm, getPattern, getReadOnlyStyleClass, getStyleClass, hasReadOnlySet, renderOldValueHtmlInputField, renderPatternHtmlInputField, setCustomFormatter, setDefaultValue, setEscaperClass, setField, setFieldName, setMaxlength, setNullFieldValue, setParent, setPattern, setReadOnly, setReadOnlyStyleClass, typicalDefaultValue, writeOutSpecialValues |
Methods inherited from class org.dbforms.taglib.AbstractScriptHandlerTag |
doCatch, getAccessKey, getConfig, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getStyle, getTabIndex, getTitle, prepareEventHandlers, prepareStyles, setAccessKey, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setStyle, setStyleClass, setTabIndex, setTitle |
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, 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.TryCatchFinally |
doCatch |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext |
DbRedirectURLTag
public DbRedirectURLTag()
doBodyEndTag
public int doBodyEndTag()
throws javax.servlet.jsp.JspException
- DOCUMENT ME!
- Overrides:
doBodyEndTag
in class DbLinkURLTag
- Returns:
- DOCUMENT ME!
- Throws:
javax.servlet.jsp.JspException
- thrown when error occurs in processing the body of
this method
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- DOCUMENT ME!
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class DbLinkURLTag
- Returns:
- DOCUMENT ME!
- Throws:
javax.servlet.jsp.JspException
- thrown when error occurs in processing the body of
this method
doFinally
public void doFinally()
- DOCUMENT ME!
- Specified by:
doFinally
in interface javax.servlet.jsp.tagext.TryCatchFinally
- Overrides:
doFinally
in class DbLinkURLTag
- See Also:
TryCatchFinally.doFinally()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- DOCUMENT ME!
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class DbLinkURLTag
- Returns:
- DOCUMENT ME!
- Throws:
javax.servlet.jsp.JspException
- thrown when error occurs in processing the body of
this method
IllegalArgumentException
- thrown when some parameters are missing.
Copyright © 2002-2006 DbForms. All Rights Reserved.