Package com.liferay.faces.alloy.component.autocomplete.internal

Examples of com.liferay.faces.alloy.component.autocomplete.internal.AutoCompleteFilter


          if (serverFilterType != null) {

            Locale locale = facesContext.getViewRoot().getLocale();
            AutoCompleteFilterFactory autoCompleteFilterFactory = new AutoCompleteFilterFactoryImpl();
            AutoCompleteFilter autoCompleteFilter = autoCompleteFilterFactory.getAutoCompleteFilter(
                serverFilterType);

            if (autoCompleteFilter != null) {
              boolean caseSensitive = serverFilterType.contains("Case");
              items = autoCompleteFilter.doFilter(query, items, caseSensitive, locale);
            }
            else {
              throw new IOException(serverFilterType + " is not a valid serverFilterType.");
            }
          }
View Full Code Here

TOP

Related Classes of com.liferay.faces.alloy.component.autocomplete.internal.AutoCompleteFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.