Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
portal:randomval
Generates a random number between 1 and 10 to select an ad image for the banner.
Syntax
<portal:randomval minval="integer" maxval="integer" output="variable name" />Parameters
minval (required)- Minimum integer value of the random number.
 
maxval (required)- Maximum integer value of the random number.
 
output (required)- Name of the variable in which to store the number generated.
 
errno
The possible values of
errnoinclude:
 Value Description -2 minval is greater than maxval.
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.