menu

SiteGenesis / Server-side JS / Module: controllers/GiftRegistryCustomer

Controller that renders a public gift registry, which can be accessed by people other than the owner.

Source:
To Do:
  • Requires cleanup

Methods

(inner) Show()

Updates the giftregistry form and renders the product list template.

Clears the giftregistry form and gets the product list using the ProductListID from the httpParameterMap. If the product list is public, it copies item and event information to the gift registry form from the product list. If the product list is private, sets the system status to ERROR.

Source:

(inner) ShowInteraction()

Gift registry customer event handler. Handles the last triggered action based in the formId.

If the formId is:

  • search - calls the GiftRegistry controller search function to render the gift registry search page.
Source: