dbforms
Tag searchCombo


Renders all the needed fields for searching with a comboBox. Hides the searchfieldName stuff from the JSP developer. Rewrites the input field with the old value. Can be used together with tableData, queryData or staticData.

Example:
					
						example of result: <input type="hidden"
						name="searchalgo_0_1" value="weakEnd"/>
						<input type="hidden" name="searchmode_0_1"
						value="AND"/> <select
						name="search_0_1"> <option>from
						datatag</option> </select>
					
				


Tag Information
Tag Classorg.dbforms.taglib.DbSearchComboTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
fieldNametruetruejava.lang.String Name of the field in the table for which the searching should be done
idfalsetruejava.lang.String expose id, enables interaction with JavaScript (not supported by all browsers!)
searchAlgofalsetruejava.lang.StringThe search algorithm. Default: sharp
searchModefalsetruejava.lang.StringThe search mode. Default: and
customEntryfalsetruejava.lang.String Allows an additional (independant) entry into the select list Arguments to this tag are as follows: Key,Description,boolean (default selection?)
selectedIndexfalsetruejava.lang.String Index that should be selected as default when form redered the first time
compareWithfalsetruejava.lang.String if set to "index" the index value will be used to compare against the selected value. if set to "value" the value value will be used to compare against the selected value. if set to "list" the index of the list will be used to compare against the selected value default is "index".
sizefalsetruejava.lang.String how many rows should the select box have
onBlurfalsetruejava.lang.StringNo Description
onChangefalsetruejava.lang.StringNo Description
onClickfalsetruejava.lang.StringNo Description
onDblClickfalsetruejava.lang.StringNo Description
onFocusfalsetruejava.lang.StringNo Description
onKeyDownfalsetruejava.lang.StringNo Description
onKeyPressfalsetruejava.lang.StringNo Description
onKeyUpfalsetruejava.lang.StringNo Description
onMouseDownfalsetruejava.lang.StringNo Description
onMouseMovefalsetruejava.lang.StringNo Description
onMouseOutfalsetruejava.lang.StringNo Description
onMouseOverfalsetruejava.lang.StringNo Description
onMouseUpfalsetruejava.lang.StringNo Description
onSelectfalsetruejava.lang.StringNo Description
stylefalsetruejava.lang.StringNo Description

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.