Each instance of QueryFormHandler
must be configured by setting, at a minimum, these two properties:
searchRequest
The associated request component of classatg.search.routing.command.search.QueryRequest
.
searchContext
The session-scoped component (of classatg.search.formhandlers.SearchContext
) that maintains information about the connection to Oracle ATG Web Commerce Search.
The form handler components mentioned in the previous section are preconfigured with settings for these properties. You should not need to change these values. However, if you create your own form handler components, be sure to set these properties on them.
In addition, the form handlers have properties that you can set to enable client-side processing of the request and response objects. These properties are described in Processing the Request and Response.