Customizing an advanced list view in the JSP console

About this task

Customizing an advanced list view is similar to creating a custom detail view. The advanced list can be displayed for any specific search view. For search views that include an advanced list view, when a user chooses the search button, the advanced list view of the entity opens instead of the regular list view. For any other search views, the regular list view opens.

To customize an advanced list view:

Procedure

  1. From the Applications Manager, define a new search view with the Show Detail flag checked.

    When the user runs a search, the default detail view of the entity is displayed (rather than the default list view for the typical search screen).

  2. Edit your JSP file as needed.

    When using the following controls, make sure to include the corresponding JSP functions of your application when binding the input fields on the search view to an XML. This ensures that the input fields are available as input to the APIs called within the advanced list screen in the yfcSearchCriteria namespace.

    Note: The standard JSPs used for search views may include functions other than those listed. When customizing an advanced list view, verify that the controls use the functions listed here.
    Control Function
    Textbox getTextOptions
    Select dropdown getComboOptions
    Radio button getRadioOptions
    Check Box getCheckBoxOptions
    Hidden Inputs getTextOptions
  3. Create a custom detail JSP page as described in “Customizing Detail Views in the JSP Console." (This is used as the advanced list view.)
  4. Define all additional APIs needed to display the advanced list view.

    The yfcSearchCriteria namespace contains all the data needed for additional APIs, and its xml:/SearchData/@MaxRecords attribute specifies the Maximum Records value for the advanced list view.

  5. Determine how the advanced list view should open.