Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
ics:listget
Retrieves a list.
Syntax
<ics:listget listname="list name" fieldname="field" [output="name"] />Parameters
listname (required)
- Name of the list to be retrieved.
fieldname (required)
- Any column in the list to retrieve that columns value for the current row. In addition the following keywords may be specified for the field name:
#curRow
- retrieve the current row number#numCols
- retrieve the number of columns in the list#numRows
- retrieve the number of rows in the listoutput (optional)
- If this parameter is specified, the value of the request field in the list is set as a variable using the name specified.
Description
This tag retrieves the value of the specified field in a specified list.
errno
None.
Example
The following example retrieves the
Color
field fromMylist
.<object:list classname="com.openmarket.framework.objects.AbstractObject" arg1="obj03" list="list1"/> <ics:listloop listname="list1"> <ics:listget listname="list1" fieldname="id" output="id"/> <ics:getvar name="id"/><br/> </ics:listloop>See Also
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.