Home > Contents > Index > 
OBJECT.LIST
Retrieves a list of objects.
Syntax
<OBJECT.LIST CLASSNAME="some class name" LIST="name of list" [ORDER="list of field names"] [ARG1="argument 1"] [ARG2="argument 2"]> <OBJECT.ARGUMENT NAME="some name" VALUE="some value"/> </OBJECT.LIST>Parameters
CLASSNAME (required)- Classname of the object.
LIST (required)- Specifies the name of the list in the list pool. This is the same list pool used by other Sites tags that generate lists. If a list exists with the same name, it is replaced by the new list.
ORDER (optional)- Specifies a comma separated list of names that should be used to order the list of objects.
ARG1 (optional)- Argument 1.
ARG2 (optional)- Argument 2.
ARGUMENT (optional)- Name/value pairs to set in the object.
Description
This tag builds a list of objects that meet the specified criteria. The criteria are a list of name/value pairs, which must be present in the object. The implementing class must implement a list method. The list method should have one of the following prototypes:
public static IList List (ICS ics, FTValList aArgument, String sOrder)
public static IList List (ICS ics, FTValList aArgument, String sOrder, String sArg1)Error Numbers
The possible values of
errnoinclude:
Example
The following example lists all objects in the
sampletable.<OBJECT.LIST CLASSNAME="com.openmarket.framework.objects.AbstractObject" LIST="list1" ARG1="sample"/>
Home > Contents > Index > 
Oracle XML Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.