The Parameters File

The parameters file provides an ability to specify parameters that are passed into the filter code in the init method.

The filterParams section is passed in as a JDOM Element.

Stores that are specified as either 'filter' or 'external' can have additional parameters provided in a param file. However params are not mandatory.

<externalParams> identify the params to be passed to an external URL.

<filterParams> identify the params to be passed to the filter class.

Here is a sample params file:

<?xml version="1.0" encoding="UTF-8"?>
<storeParams>
    <externalParams>
        <checkinParams>
            <param name="param2">value2</param>
        </checkinParams>
        <checkoutParams>
            <param name="param1">value1</param>
        </checkoutParams>
    </externalParams>
    <filterParams>
        <param name="param1">value2</param>
        <param name="param2">value2</param>
    </filterParams>
</storeParams>