PageGenerator Methods

Methods on the pageGenerator object are used to generate a web store page.

The following PageGenerator methods are available:

addBreadCrumb(label, url)

Adds a bread crumb to the end of the existing bread crumb trail.

Parameters

Back to PageGenerator Methods | Back to Shopping Objects

addHeadHtml(html)

Adds the specified HTML to the top of the page's <head> section, before the stylesheet HTML.

Parameters

Back to PageGenerator Methods | Back to Shopping Objects

addStylesheetHtml(html)

Adds the specified HTML to the top of the page's <head> section, after the stylesheet HTML

Parameters

Back to PageGenerator Methods | Back to Shopping Objects

addTab(id, label, url)

Adds a tab to the right of current tabs on the page.

Parameters

Back to PageGenerator Methods | Back to Shopping Objects

addToPageInitScript(scriptLines)

Adds lines of JavaScript to the page's initialization script.

Parameters

Back to PageGenerator Methods | Back to Shopping Objects

removeBreadCrumbs()

Removes all bread crumbs from the page.

Parameters

No parameters to set.

Back to PageGenerator Methods | Back to Shopping Objects

removeTab(id)

Removes a specified tab from the page.

Parameters

Back to PageGenerator Methods | Back to Shopping Objects

removeTabs()

Removes all tabs from the page.

Parameters

No parameters to set.

Back to PageGenerator Methods | Back to Shopping Objects

setDocTypeHtml(html)

Establishes HTML for the page <doctype> tag.

Parameters

Back to PageGenerator Methods | Back to Shopping Objects

setMetaTagHtml(html)

Establishes HTML for the page's <meta> tags.

Parameters

Back to PageGenerator Methods | Back to Shopping Objects

setPageTitle(title)

Establishes a title for the page.

Parameters

Back to PageGenerator Methods | Back to Shopping Objects

setSelectedTab(id)

Causes the specified tab to be displayed as the currently active tab.

Parameters

Back to PageGenerator Methods | Back to Shopping Objects

showTabNavigation(show)

Indicates whether tab navigation should be shown or hidden.

Parameters

Related Topics:

Input Parameters/Return Values for Shopping Object Methods
Customer Methods
Order Methods
PageGenerator Methods
StandardTagLibrary Methods
Shopping Objects

General Notices