Configuring Sun Master Indexes (Repository)

ProcedureTo Configure the Search Results Page

  1. In the Projects window, expand the Configuration node in the project you want to modify, and then double-click the Enterprise Data Manager file.

    The file opens in the NetBeans XML editor.

  2. Scroll to the page-definition element in the gui-definition element, and then to the eo-search element.

  3. In the search-result-list-page element, do any of the following:

    • To modify the number of records displayed on the search results page at one time, change the value of the item-per-page element.

      For example:


         <item-per-page>15</item-per-page>
    • To specify a maximum number of records to return from a search, change the value of the max-result-size element.

      For example:


         <max-result-size>100</max-result-size>
    • To add a new field to the results list, create and name a new field-ref element.

      For example:


         <field-ref>Person.LastName</field-ref>
    • To modify a field in the results list, change the value of the appropriate field-ref element.

      For example:


         <field-ref>Person.FirstName</field-ref>
    • To delete a field from the results list, delete all text between and including the field-ref tags defining the field to be deleted.

      For example, to delete the City field from the following list, delete the boldface text.


         <search-result-list-page>
            <item-per-page>10</item-per-page>
            <field-ref>Person.LastName</field-ref>
            <field-ref>Person.FirstName</field-ref>
            <field-ref>Address.AddressLine1</field-ref>
            <field-ref>Address.City</field-ref>
         </search-result-list-page>
  4. Save and close the file.