1 Introduction - Reference Documentation
Authors: Grails Plugin Consortium
Version: 2.4.4
1 Introduction
FilterPane Plugin
Help Grails be an active, open community! If you use this plugin and haven't rated it, please do so. If you've rated this plugin anything but 5 stars, please let me know why (See for how). I'm striving to make this plugin the best that it can be, and constructive feedback is always appreciated.Build Status
View Build Status1.1 Current Version Changes
Version 2.2.5 Release Notes
1.2 Change Log
Change Log
Upgrading to 2.0.
Version 2.0 is a complete rewrite / refactoring of the plugin to make better use of modern Grails practices (and a better working knowledge of Grails). All tags are now rendered via templates instead of string builders in code. This should make the plugin more extensible in the future. Many bugs and feature enhancements were also completed for the release.Release Notes - Grails Plugins - Version Grails-FilterPane 2.0
Bug
- GRAILSPLUGINS-1256 - plugin overrides default order of domain objects
- GRAILSPLUGINS-1717 - Filterpane "java.lang.ClassCastException: java.lang.String" with Long and Integer properties
- GRAILSPLUGINS-2446 - i18n missing for sortable criteria combobox
- GRAILSPLUGINS-2447 - Missing input field for associated properties if between criteria is selected
- GRAILSPLUGINS-2483 - Missing input field for type Currency
- GRAILSPLUGINS-2807 - GSP-tag filterpane:includes generates wrong path for java-script files.
- GRAILSPLUGINS-2808 - Associated properties not displayed correctly in currentCriteria tag
- GRAILSPLUGINS-2813 - The currentCriteria tag looses the sort and order params when using remove link
Improvement
- GRAILSPLUGINS-1476 - Support filtering of collections
- GRAILSPLUGINS-1979 - Specify fetchMode In FilterPane
- GRAILSPLUGINS-2448 - German properties
- GRAILSPLUGINS-2802 - Swedish messages
- GRAILSPLUGINS-2809 - Make it possible to filter on "id" property
New Feature
- GRAILSPLUGINS-1909 - Support for deeper assocations
- Package names for all classes have changed to a more standard one: org.grails.plugin.filterpane
- Class Renames
- FilterService has been renamed to FilterPaneService to match the plugin name and to remove ambiguity with other plugins / services
- FilterUtils has been renamed to FilterPaneUtils for the same reasons as above.
- Tag Library Changes
- filePaneIncludes tag has been removed. It has been deprecated for some time. Use includes tag instead.
- filterButton no longer uses an ID attribute, as it was unclear what it was for. It has been renamed to filterPaneId, to denote the id of the filterpane you wish to display.
- filterPane tag domainBean attribute is now just "domain"
- A couple years of practical use has shown that most users are NOT using the filter form as a dialog. As such, a new required attribute to the filterPane tag has been added: dialog. It defaults to false, so if you want to maintain the use of the form as a popup dialog, you must add this attribute and set it to true.
This plugin adds filtering capabilities to any Grails application. The primary goals of this plugin include:Please note that you may experience duplicate rows if you use eager fetching. See GRAILSPLUGINS-2063 for more information.
- Easy integration with Grails list pages via custom tags
- Smart operator display. Only practical filter operations are available for a property's data type. (e.g. no "like" operators for numeric properties)
- Support for major operators including =, <>, >, <, >=, <=, like, ilike, between, is null, and is not null.
- Smart filter value entry. Date properties display a date picker, boolean's display radio buttons, etc.
- Support for a custom list of values, such as a filtering a text property with a constrained list of values.
- Works with Grails list sorting out of the box with only minor modification to your list gsp.
- Works with Grails pagination out of the box with only minor modification to your list gsp.
- Honors domain constraints: nullable, blank, inList ( Since 0.4 )
null