Class Name




CategoryBrowsed and ProductBrowsed are two servlet beans instantiated from class atg.userprofiling.ViewItemEventSender. These servlet beans send JMS messages to the messaging system when a customer views items in the catalog.

Input Parameters

The repository item the customer has viewed, which will be sent within the event message. This is either a product or category repository item, depending on which servlet bean you use (CategoryBrowsed or ProductBrowsed).

Output Parameters


Open Parameters

The open parameter rendered if an error occurs while sending the message to the messaging system.


The following example shows a portion of a JSP that uses the ProductBrowsed servlet bean to send a message when a product is viewed. The product’s repository ID is passed to this page (via the ItemId parameter) from the page that links to it.

<dsp:droplet name="/atg/commerce/catalog/ProductLookup">
<dsp:param param="ItemId" name="id"/>

<dsp:oparam name="output">
   <dsp:droplet name="/atg/commerce/catalog/ProductBrowsed">
     <dsp:param param="element" name="eventobject"/>

Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices