<eb:smnav> Tag

For use with legacy applications that implement Webflow and run in a compatibility domain. The <eb:smnav> tag, which is added to your portal Web project when you install commerce in your application, enables scrollable model navigation by creating "Previous | 10-19 | Next" style navigation for pages with multiple results.

This tag relies on a Pipeline Session containing a ScrolableModel object on the PipelineSessionConstants.SCROLLABLE_MODEL key.

Syntax

<tagName attribute="value" />

Attributes

origin

Optional (String) - The current JSP.

event

Optional (String) - The name of the link configurable in the Webflow as the visitor clicks the "Next" or "Previous" links.

pageindex

Optional (String) - The index of the current page to display.

prevstring

Optional (String) - The localized name for the "Next" string, which could be as simple as ">".

nextstring

Optional (String) - The localized name for the "Previous" string, which could be as simple as "<".

Example

<eb:smnav origin="orderhistory.jsp" 
event="link.ViewOrderHistory" prevstring="Previous"
nextstring="Next"
pageindex="<%= pageIndexString %>" />

Related Topics

Building a Commerce Application