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.
About this task
To customize an advanced list
view:
Procedure
- 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).
- 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 |
- Create a custom detail JSP page as described in “Customizing Detail Views in the JSP
Console." (This is used as the advanced list view.)
- 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.
- Determine how the advanced list view should open.