Each form handler must be configured by setting, at a minimum, these two properties:
searchRequest
The request component used by the form handler. The request must be of the type associated with the form handler. For example, for theBrowseFormHandler
, this property must point to a component of classatg.search.routing.command.search.BrowseRequest
.
searchContext
The session-scoped component (of classatg.search.formhandlers.SearchContext
) that maintains information about the connection to ATG Search.
All of the form handler components mentioned in the previous section come preconfigured with settings for these properties. You typically should not need to change these values. However, if you create your own form handler components, you should be sure to set these properties on them.
In addition, the form handlers have a number of properties that you can set to enable optional behavior, such as client-side processing of the Request
and Response
objects. These properties are described in some of the sections below.