mapfish. widgets. search.Form

Summary
mapfish. widgets. search.Form
Constructor
mapfish. widgets. search.Form
Properties
form{<GeoExt.form.BasicForm>}
Functions
getFilterReturn a {OpenLayers.Filter} from this searcher’s form.
triggerSearchTrigger search request.

Constructor

mapfish. widgets. search.Form

Parameters

config{Object} A config object accepting the following properties:
form{Ext.form.FormPanel} or {Ext.form.BasicForm} The form this searcher wraps; mandatory.
protocol{OpenLayers.Protocol} An OpenLayers protocol, the searcher searches this protocol for a {mapfish.Protocol.MergeFilterDecorator} instance (following the protocol chain) and registers itself into this instance, the protocol passed can itself be a {mapfish.Protocol.MergeFilterDecorator} instance; optional.
autobind{Boolean} If false the searcher will not be registered into the protocol specified using the protocol option, optional.

Properties

form

{<GeoExt.form.BasicForm>}

Functions

getFilter

getFilter: function()

Return a {OpenLayers.Filter} from this searcher’s form.

Returns

{OpenLayers.Filter}

triggerSearch

triggerSearch: function()

Trigger search request.

getFilter: function()
Return a {OpenLayers.Filter} from this searcher’s form.
triggerSearch: function()
Trigger search request.
Abstract vector layer protocol class.
Instances of this class decorate a protocol by merging filters provided by searchers before invoking the decorated protocol’s read method.
This class represents an OGC Filter.
Close