|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport javax.servlet.jsp.tagext.BodyTagSupport org.dbforms.taglib.AbstractScriptHandlerTag org.dbforms.taglib.AbstractDbBaseHandlerTag org.dbforms.taglib.DbSearchTag org.dbforms.taglib.DbSearchComboTag
public class DbSearchComboTag
renders a select field for searching with special default search modes.
example:
<input type="hidden" name="searchalgo_0_1" value="weakEnd"/> <input type="hidden" name="searchmode_0_1" value="AND"/> <select name="search_0_1"/> </select> searchalgo and searchmode are set by parameter.
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 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 | |
---|---|
DbSearchComboTag()
Creates a new DbSearchComboTag object. |
Method Summary | |
---|---|
int |
doEndTag()
DOCUMENT ME! |
void |
doFinally()
DOCUMENT ME! |
int |
doStartTag()
DOCUMENT ME! |
String |
getCompareWith()
DOCUMENT ME! |
String |
getCustomEntry()
DOCUMENT ME! |
String |
getSelectedIndex()
DOCUMENT ME! |
String |
getSize()
DOCUMENT ME! |
void |
setCompareWith(String string)
DOCUMENT ME! |
void |
setCustomEntry(String customEntry)
DOCUMENT ME! |
void |
setEmbeddedData(List embeddedData)
This method is a "hookup" for EmbeddedData - Tags which can assign the lines of data they loaded (by querying a database, or by rendering data-subelements, etc. etc.) and make the data available to this tag. |
void |
setSelectedIndex(String selectedIndex)
DOCUMENT ME! |
void |
setSize(String string)
DOCUMENT ME! |
Methods inherited from class org.dbforms.taglib.DbSearchTag |
---|
getDefault, getFormFieldName, getHidden, getSearchAlgo, getSearchMode, RenderHiddenFields, setDefault, setHidden, setSearchAlgo, setSearchMode |
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 org.dbforms.interfaces.IDataContainer |
---|
getEscaper |
Methods inherited from interface javax.servlet.jsp.tagext.TryCatchFinally |
---|
doCatch |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
getParent, setPageContext |
Constructor Detail |
---|
public DbSearchComboTag()
Method Detail |
---|
public void setCompareWith(String string)
string
- public String getCompareWith()
public void setCustomEntry(String customEntry)
customEntry
- DOCUMENT ME!public String getCustomEntry()
public void setEmbeddedData(List embeddedData)
setEmbeddedData
in interface IDataContainer
embeddedData
- DOCUMENT ME!public void setSelectedIndex(String selectedIndex)
selectedIndex
- DOCUMENT ME!public String getSelectedIndex()
public void setSize(String string)
string
- public String getSize()
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class DbSearchTag
javax.servlet.jsp.JspException
- DOCUMENT ME!
javax.servlet.jsp.JspException
- DOCUMENT ME!public void doFinally()
doFinally
in interface javax.servlet.jsp.tagext.TryCatchFinally
doFinally
in class DbSearchTag
TryCatchFinally.doFinally()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
- DOCUMENT ME!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |