Samples > Starter stores > Starter store enhancements > IBM Gift Center for the Madisons starter store > Work with the sample store pages


IBM Gift Center for Madisons: Directory structure

The Gift Center sample add-on store files are organized by default in a defined directory structure within the Madisons starter store directory structure.

Publish the Gift Center sample add-on store archive on top of the Madisons starter store adds a GiftCenter directory. The full-page Gift Center JSP files are located in this directory and its subdirectories, along with some other Gift Center store files. The subdirectories within the GiftCenter directory include:

WC_EAR/Stores.war/Madisons/GiftCenter/createRegistry

Contains the full-page JSP files that render the store pages contained in the registry creation flow.

WC_EAR/Stores.war/Madisons/GiftCenter/manageRegistry

Contains the full-page JSP files that render the store pages contained in the registry management flow.

WC_EAR/Stores.war/Madisons/GiftCenter/searchRegistry

Contains the full-page JSP files that render the store pages contained in the registry search flow.

WC_EAR/Stores.war/Madisons/GiftCenter/ShoppingFlow

Contains the full-page JSP files that render the store pages contained in the registry shopping flow.

WC_EAR/Stores.war/Madisons/GiftCenter/snippets

Contains JSP files and JSP file fragments that are reused in the full-page store JSP files. In additional to this snippets directory, several additional snippet directories are included as subdirectories at the paths previously listed.

WC_EAR/Stores.war/Madisons/GiftCenter/Messages

Contains JSP files for the gift registry announcement templates.

WC_EAR/Stores.war/Madisons/GiftCenter/include

Contains the GiftRegistryEnvironmentSetup.jspf file, which retrieves and prepares information that is used by all the Gift Center JSP files. Gift Center JSP files that include this file can reference the JSTL variables that this file creates.

Other store assets installed with the Gift Center sample add-on store archive are located in the existing Madisons directories at:

WC_EAR/Stores.war/Madisons/

The Gift Center sample pages also uses existing store assets from the Madisons starter store where required.


Related tasks

IBM Gift Center for Madisons: Creating a custom business validation rule

Related reference

Customize IBM Gift Center for Madisons


+

Search Tips   |   Advanced Search