Samples > Starter stores > Starter store enhancements > IBM Gift Center for the Madisons starter store > Site flow and interactions
IBM Gift Center for Madisons: Registry creation flows
The registry creation flows include pages for registrants to create registries and begin selecting gifts from the Madisons catalog.
The following table summarizes the JSP files that support registry creation flows. Any Web services called by specific links and buttons on the store pages are identified in the right column.
The JSP files are located at this path:
- WCDE_INSTALL/workspace/Stores/WebContent/Madisons/GiftCenter/createRegistry
- WC_EAR/Stores.war/Madisons/GiftCenter/createRegistry
Gift registry page JSP files Links and buttons Create a Registry Customers can enter information about their new gift registry on this page. The information includes the event type, description, and date, the registry access password, and preferences.
GiftRegistryCreateDisplay.jsp Includes:
- EventInfoSnippet.jspf displays the fields in the Event Information section.
- RegistryPasswordSnippet.jspf displays the fields in the Registry Password section.
- PreferencesSnippet.jspf displays the fields in the Guest Access Preference, E-Mail Notification Preference, and Madisons Gift Certificate sections.
- An asynchronous call is made to RegistrantInfoDisplay.jsp to display the registrant or co-registrant sections, depending on the event selected.
- ShipPreferencesSnippet.jspf displays the shipping preferences.
- The Create Registry button calls GiftRegistryCreateConfirmPage to display the event details to the customer.
Registry Information Customers can review and confirm information for a new gift registry. The page displays the information the customer has entered, such as the event type, description, date, and preferences. The customer can confirm the information and save the registry, or navigate back and edit any incorrect information.
GiftRegistryCreateConfirmPage.jsp
- The Confirm button calls the AjaxGiftListServiceCreate service to create the gift registry.
- The Edit button calls GiftRegistryCreateView so that the customer can make changes.
Add Products to Your Registry This page displays after customers successfully create a registry. The page provides instructions for how to add products to the registry.
GiftRegistryCreateSuccessDisplay.jsp None Return Customer/New Customer logon Guest users can log in or register from this page to create a registry. This page also allows a guest user to log in to edit the registries he or she manages, or to edit a specific registry.
GiftRegistryLogonDisplay.jsp
- Click Sign in allows a user to log in.
- Click Register allows a customer to register. The button is visible to guest users when they click Create from the gift registry home page.
- Click Edit the Registry allows a customer to edit a specific registry, and calls the AjaxGiftListServiceAuthenticate service to authenticate the customer to access the gift registry. The button is visible to guest users when clicking Edit from the gift registry home page. If successful, the customer is redirected to GiftRegistryManageView. If not successful, the button displays an error message.
Related reference
IBM Gift Center for Madisons: Registry home page flows
IBM Gift Center for Madisons: Registry management flows
IBM Gift Center for Madisons: Registry shopping flows
IBM Gift Center for Madisons: Registry search flows