"Search by Field" Applet Customization
(FieldedSearchApplet.class)
Define Searchable Fields
collection<num>.field_order=<name1>,<name2>,<name3>
Defines searchable index fields and order of their appearance (if supported by browser). By default, all index fields contained in database will be used.
collection<num>.field.<name>.desc=<description>
Field description that will be shown by QuestAgent applet.
In addition, QuestAgent supports search by more than one field simultaneously. All you need to do is to define group of fields in format "field1|field2|field3|...".
Example:
collection1.field_order=body,author,publisher,author|publisher collection1.field.body.desc=Description collection1.field.author.desc=Author collection1.field.publisher.desc=Publisher collection1.field.author|publisher.desc=Author or Publisher
Define Data Columns
collection<num>.column_order=<name1>,<name2>,<name3>
Defines record fields that will be show in the hit list. Columns will appear in a specified order.
To define column appearance, sorting and other features use column customization parameters.
Example:
collection1.column_order=relevance,title,author,pages,price,publisher
Column Customization
Default column properties are inherited from the list component. However, columns can be controlled separately and every column is addressed by its field name:
collection<num>.column.<name>.desc=<description>
Column description. The specified text appears in header as column title.
collection<num>.column.<name>.width=<predefined width>
Column width. If not specified column will be resized to fit the widest data.
collection<num>.column.<name>.color=<color>
Column text color.
collection<num>.column.<name>.align=<left|center|right>
Column text alignment.
collection<num>.column.<name>.title_align=<left|center|right>
Column title alignment.
collection<num>.column.<name>.type=<string|numeric>
Column data type defines data sorting for a specified column. By default all columns are defined as "string".
collection<num>.column.<name>.font=<font name>
Font name. (Must be an available system font.)
collection<num>.column.<name>.fontsize=<font size>
Font size.
collection<num>.column.<name>.fontstyle=<plain|bold|italic>
Font style.
List Header
To hide list column define parameter:
collection<num>.listheader.visible=false
where <num> is the number of collection for which you want to hide header.