Home > Contents > Index >
listobject:addrow
Adds a new row to the end of a list.
Syntax
<listobject:addrow name="listname
">
<listobject:argument name="</listobject:addrow>colname-1
" value="colvalue-1
"/> <listobject:argument name="colname-n
" value="colvalue-n
"/>Parameters
name
(required)- Input parameter. Name of the list object to which to add a new row.
argument
(required)- Input parameter. Specify an argument line for each column name/value pair in the row to be added.
Note
The list object name and value inputs are case-sensitive.
Example
<!-- Create a list for a call to assetset:getassetlist --> <listobject:create name="mylist" columns="attributename,direction"/> <listobject:addrow name="mylist">
<listobject:argument name="attributename" value="name"/> <listobject:argument name="direction" value="descending"/></listobject:addrow> <listobject:addrow name="mylist">
<listobject:argument name="attributename" value="price"/> <listobject:argument name="direction" value="descending"/></listobject:addrow> <listobject:tolist name="mylist" listvarname="listout"/>
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.