The Gift Registry Search instance can also be customized to include additional fields or information. There are two properties file that can be modified, the default and the extended properties files.
The default configuration property file is available at /DCS-CSR-UI/config/atg/commerce/
and contains the following:
custsvc/ui/fragments/gift/GiftListSearchDefault.properties
URL=/include/gift/search/giftlistSearchUIFragment.jsp
servletContext=DCS-CSR
The extended configuration property, GiftListSearchExtended.properties
, does not contain links to a JSP file.
The following JSP files are used for configuring the Gift List Search form:
JSP File | Description |
---|---|
| Calls the following page fragments:
|
| Calls the following page fragments:
|
The /panels/gift/giftListSearchGrid.jsp
provides the gift list search results grid:
/atg/commerce/custsvc/ui/tables/gift/GiftlistGrid.properties
$class=atg.svc.agent.ui.tables.GridConfiguration
columns=\
/atg/commerce/custsvc/ui/tables/gift/search/EventName,\
/atg/commerce/custsvc/ui/tables/gift/search/LastName,\
/atg/commerce/custsvc/ui/tables/gift/search/FirstName,\
/atg/commerce/custsvc/ui/tables/gift/search/CustomerID,\
/atg/commerce/custsvc/ui/tables/gift/search/EventType,\
/atg/commerce/custsvc/ui/tables/gift/search/EventDate,\
rowsPerPage=10
gridHeight=450px
gridInstanceId=atg.commerce.csr.gift.giftlistInstance
gridPath=/atg/commerce/custsvc/ui/tables/gift/search/Giftistrid
gridWidgetId=atg_commerce_csr_customer_gift_GiftlistTable
progressNodeId=atg_commerce_csr_gift_GiftlistGridStatus
searchFormId=atg_commerce_csr_giftlistSearchForm
dataModelPage=/atg/commerce/custsvc/ui/tables/gift/search/GiftsistDataPage
gridPage=/atg/commerce/custsvc/ui/tables/gift/search/GiftlistGridPage
Gift List Form Handlers
The following form handlers can be used when customizing gift list forms:
CRSGiftlistFormHandler
– sets the messaging, environment and profile tools, as well as populating the gift lists with the gift items. Extends theGifListFormHandler
CSRSearchFormHandler
– Performs gift list searches by searching the gift list repository for published gift lists. This form handler performs name searching, which users name properties as an input string. It extends theSearchFormHandler
GiftlistTableFormHandler
– Populates the customer gift list grid on the customer view page. Contains the following configurable properties:DoOwnerSearch
– by default is set to true indicating that the search query will always return results based on the gift list owner propertyDoSiteFilterSearch
– by default is set to true so if multisite is enabled the search query will only return results that have a valid site. By default any gift list with a site that has been disabled will still be returned as part of the search resultsIncludeDisabledSites
– can be set to false to omit Disabled Sites from the search results