Optionally we can add a label to the filter by passing a String * to the addFitlerLabel(...) method. Custom styling can also be applied to the filter by passing CSS class names to the addCSSClasses(...)
Note: * The filter label is configured for localization. The String passed to the addFilterLabel method is assumed to be a key in a properties file associated with the Pod. If no property value is returned by the key the key is used as the label. Localization is covered in Chapter 8: Localization in Pods
Figure 1. Adding a PodFilter to a Pod048 genreFilter.addFilterLabel("Genre");
049 genreFilter.addCSSClasses("genre-filter");