Samples > Starter stores > Starter store enhancements > IBM Gift Center for the Madisons starter store > Site flow and interactions


IBM Gift Center for Madisons: Registry search flows

The gift registry sample pages include registry search flows to search a registry.

The following table summarizes the JSP files that support registry search flows. Any Web services called by specific links and buttons on the store pages are identified in the right column. The JSP files install in various directories at this location:

WC_EAR/Stores.war/Madisons/

Gift registry page JSP files Links and buttons
Home page: Search For, Create, or Edit a Registry

Provides an entry point to the gift registry for all customers, including gift givers, registrants, and co-registrants. From this page, customers can:

  • Search for an existing gift registry by a registrant's name or by the registry number.

  • Click a Create button to begin creating a new registry.

  • Click an Edit button to sign into an existing registry for editing.

GiftRegistryHomeDisplay.jsp

Includes:

  • LayoutContainerTop.jspf displays the header of the page.

  • DateSnippet.jspf displays the Date field as a parameter for Gift Registry Search.

  • LayoutContainerBottom.jspf displays the footer of the page.

  • The advanced search link shows or hides additional search parameters.

  • The Search button calls GiftRegistrySearchResultsView to display the search results.

  • The Create button calls GiftRegistryCreateView if the customer is logged in. GiftRegistryLogonDisplayView is called if the customer is not logged in.

  • The Edit button calls GiftRegistryListSelectionView if the customer is logged in. GiftRegistryLogonDisplayView is called if the customer is not logged in and has not managed or accessed a gift registry as a co-registrant.

Search For a Registry/Search Results

Displays the gift registry search results. The page provides a search form to modify the search terms. The search form is populated with the previous search terms. Soundex-based searches are available to search for similar results.

GiftRegistrySearchResultsDisplay.jsp

Includes:

  • GiftRegistryListTable.jsp displays the search results.

  • DateSnippet.jspf displays the Date parameter for the search form.

  • The Search button calls GiftRegistrySearchResultsView to resubmit the search.

  • The Advanced Search link shows or hides additional search parameters.

  • The pagination buttons control the registry navigation. When the number of registries exceeds the page size, pagination buttons are available to navigate to the corresponding page.

  • The Similar Search button enables Soundex-based searches to search for similar results. When the search results are displayed, registry links can be clicked to view the requested products in the Registered Products (gift giver) page. The AjaxGiftRegistrySearchResultsView is called to display the search results.

  • The AjaxGiftListServiceAuthenticate service is called when a registry link is clicked, to check if the user is authenticated to view the registered products list. If the user is authenticated, the Registered Products (gift giver) page is displayed. If the registry is protected, a pop-up window is displayed, requesting the guest access password.

  • The AjaxGiftListServiceAuthenticate service is called after the customer enters the guest access password. Authenticated users are redirected to the Registered Products (gift giver) page, while unauthenticated users receive an error message.

Related reference

IBM Gift Center for Madisons: Registry home page flows

IBM Gift Center for Madisons: Registry creation flows

IBM Gift Center for Madisons: Registry management flows

IBM Gift Center for Madisons: Registry shopping flows


+

Search Tips   |   Advanced Search