Trigger the 'select'-event earlier, this way any handlers for the event can change both the filter and the resulting SLD inside the callback.
Trigger the 'select'-event earlier, this way any handlers for the event can change both the filter and the resulting SLD inside the callback.