Siebel Interactive Selling Transact Server Interface Reference > The Shopping Cart > The Quote List >

Iterating Through the User's Quote List

The code for iterating through the list of the user's saved quotes is similar to that used to work through the Transact ConfigList.jsp template. Each quote that is available on the user's quote list is displayed by iterating through the entire list with a while loop. Inside the while loop, you can access information pertaining to the current quote in the list and display it to the user.

The form of the while loop is:

<% while (quoteList.nextQuote()) { %>
<font face=Verdana size=-1><%= quoteList.getID() %></font>
...//display more quote information...

The general approach here, similar to the method for displaying shopping cart line items, is for the while loop to contain the HTML needed for formatting and displaying the desired information pertaining to a single line item. You would put headers for each field displayed on the list above the start of the loop in the Quote List template.

 Siebel Interactive Selling Transact Server Interface Reference 
 Published: 18 April 2003