Tutorial: Adding search conditions for advanced search in the Catalogs tool
Users can perform complex searches that contain several search conditions in the Advanced Search dialog in the Catalogs tool.
These extended properties are added in the catalog entry in Tutorial: Adding fields in the Catalogs tool. Deploy all of your customized code at the same time. If you complete both tutorials and you are deploying to your production server, deploy after you complete both tutorials.
Learning objectives
After completing this tutorial, you should be familiar with the following concepts:
- Advanced Search dialog
- Search definitions
- The expression builder
After completing this tutorial, you should be familiar with the following tasks:
- Extend the Advanced Search dialog to include extended properties as search
- Extend the controller JSP file to transfer extended search parameters
- Configure parametric search to search on custom data
- Create an expression builder to override a default expression builder
- Add the extended properties as a column to a list view.
Time required
Expect this tutorial to take two hours to complete.
Skill level
This tutorial is intended for advanced WebSphere Commerce developers responsible for creating and customizing WebSphere Commerce services. To complete this tutorial, familiarize yourself with the following terms and concepts:
- WebSphere Commerce Developer
- The Management Center for WebSphere Commerce programming model
- The OpenLaszlo programming API to extend the catAllCatalogEntriesAdvancedSearchContent class
- The Java programming language
- GetData tag configuration
- JSP pages
- HTML
- XML
- Struts configuration
System requirements
Before you begin this tutorial, ensure that you complete the following tasks:
- Install WebSphere Commerce Developer version 7.
- Publish the Deprecated featureMadisons store archive.
- Enable the management-center feature.
- Create a category manager.
- Complete the Adding new properties to a WebSphere Commerce service by using the data service layer tutorial
- Complete the Adding new fields in the Catalogs tool tutorial.