You can add search functionality to your templates in one of two different ways:

  • Use the Struts search forms and actions described in the Escenic Content Engine Struts Form Reference.

  • Use the lower level bean.

The recommended method is to use the Struts search forms, as this is the simplest and quickest approach. It is also the method used in the Lucy demo publication.

Whichever method you use, the process involves the following basic steps:

  1. Construct the search expression.

  2. Execute the search.

  3. Present the results.