Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
commercecontext:getratings
Calculates the ratings of the assets in a named list.
Syntax
<commercecontext:getratings assets="assetlist
" listvarname="ratinglist
" defaultrating="defaultrating
"/>Parameters
assets (required)
- Input parameter. Name of the list of assets whose ratings you want to calculate. Its columns are
assettype
andassetid
.
listvarname (required)
- Input and output parameter. As input, name of the list to create on output that stores the assets with their ratings. Its columns are
assettype
,assetid
, andrating
. The list of assets is created and ordered according to the segment ratings associated with the assets.
defaultrating (required)
- Input parameter. Default rating to use for assets that do not have a rating assigned to them yet.
Description
This tag calculates ratings according to how important the asset is to this visitor, based on the segments to which the visitor belongs. This tag is invoked whenever you use any of these tags:
commercecontext:getrecommendations
commercecontext:getsinglerecommendation
assetset:establishratings
Use this tag during a debugging phase of your application development.
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.