Feature Pack 8: The Madisons store is deprecated. Most features demonstrated in the Madisons store are available in the Aurora store.

Commonly used JSTL variables in Madisons mobile starter store pages

The JSTLEnvironmentSetup.jspf file is a configuration file commonly included in Madisons mobile starter store pages. The variables declared within this file can be modified to change the appearances and behaviors of storefront components.

Styling variables

vfileColor
The directory containing color-dependant image files. The selection can be changed using the Change Style wizard in the WebSphere Commerce Accelerator.
StyleDir
The directory containing the outer-frame JSP files, for example, the header and footer. The selection can be changed using the Change Style wizard in the WebSphere Commerce Accelerator.
vfileStylesheet
The name of the cascading style sheet (CSS) file. The selection can be changed using the Change Style wizard in the WebSphere Commerce Accelerator.

Variables used on store pages

langId
The currently selected language ID for the store.
locale
The currently selected locale for the store.
shortLocale
The currently selected short locale for the store.
storeName
The store name.

Variables passed to cached pages

catalogId
The ID of the store's catalog.
lastCmdName
The name of the last command performed in the page.
storeId
The ID of the store.
userId
The ID of the user.
userType
The type of the user. This value can be G for guest users, and R for registered users.

Store directory variables

cssPath
The path referring to the store CSS files. It references the jspStoreImgDir.
jspStoreDir
WebAsset directory of the shared file directory. This directory can contain common Web file formats such as JSP files, HTML, and images.
jspStoreImgDir
The URL referring to the shared image directory, used to reference images.
snippetJspStoreDir
The directory that contains JSP file snippets for the store.
storeDir
WebAsset directory of the hosted store. This directory can contain common Web file formats such as JSP files, HTML, and images.
storeImgDir
The URL referring to the hosted store home directory, used to reference images.

Currency variables

currencyDecimal
The number of decimal places for currency. For example, JPY and KRW do not contain any decimal places, while other currencies contain two decimal places.
currencySymbol
The symbol used for the store currency.

Presentation variables

absoluteStoreJspUrl
An absolute URL path, if needed.
shopcartMaxPageSize
The maximum number of displayed ordered items in a single shopping cart page.
departmentMaxPageSize
The maximum number of displayed items in the department page.
categoryMaxPageSize
The maximum number of displayed items in the category page.
productsMaxPageSize
The maximum number of displayed products.
searchResultsMaxPageSize
The maximum number of displayed items in the search results page.
request
The current request (pageContext.request).
storeLocatorResultMaxPageSize
The maximum number of displayed store locations in the store locator results page.
wishlistMaxPageSize
The maximum number of displayed items in the wish list page.
orderHistoryMaxPageSize
The maximum number of displayed items in the order history page.
orderSummaryMaxPageSize
The maximum number of displayed items in the order summary page.
physicalStoreCookieMaxSize
The maximum number of store locations stored in the cookie.
numProdToCompare
The number of products to compare.
maxProdToCompare
The maximum number of products to compare.
physicalStoreCookieMaxSize
The maximum number of store locations stored in the cookie.