.. _widget-attributefilterpanel-label:
========================
Attribute Filter Panel
========================
Allows filtering of vector features based on logical operators applied on the feature attributes.
XML Sample
----------
Sample configuration.
.. code-block:: xml
MyAttributeFilterPanelgeobiduleR_FS_geobiduleandtruecoloreqtextfieldsizegttextfieldgeobidule2R_FS_geobiduleandtruepriceletextfieldconstruction_dategtdatefieldn/j/Y
drawWidget Sample
-----------------
.. code-block:: xslt
Mandatory Options
-------------------
:label: The label to display in the widget panel's title
:filters: A list of elements to construct the filter panels, with the
following sub-elements:
:name: The name of the filter panel
:label: The label to display in the filter panel's title
:resourcename: The resource that identifies the layer to filter (must be a FeatureServer layer)
:logical_op: The logical operator (and/or) used to combine the filtering criteria (NOTE: for now,
FeatureServer only supports "and").
:ignoreempty: Set to true if you want to ignore criteria that are left empty; otherwise the comparison
with the empty string is made for each criteria.
:fields: A list of elements defining which fields to filter, containing the
following sub-elements:
:name: The name of the feature attribute to filter
:operator: Operator to use for the comparison (eq, ne, lt, le, gt, ge, like)
:xtype: ExtJS xtype used to instanciate the control (e.g. textfield, datefield)
:label: Text label to display above the control for the field to filter
:format: (Optional) Used with a datefield to specify the date format (e.g. Y-m-d for something like 2010-12-31)
Optional Options
------------------
Service Type
------------
featureserver
Widget Action
-------------
read