Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
ICS.CallElement
Processes the content of an element.
Syntax
public boolean CallElement(String element, FTVAlList vIn)Parameters
element
- The element name listed in the ElementCatalog table.
vIn
- List of name/value pairs to be passed as input parameters to the page. A name/value pair supplied here will overwrite the value of any pre-existing variable of the same name. If
vIn
is null, the current variable set is used, and may be modified during the page evaluation.
Description
The
CallElement
method processes the content of an element. The element must exist in theElementCatalog
.Returns
Returns
true
for success andfalse
for failure.Errno
If an error occurs,
errno
will be set appropriately. UseGetErrno
to view the error.
Example
The following code calls an element named
Callee
, passing two arguments:ics.ClearErrno(); FTValList args = new FTValList(); args.removeAll(); args.setValString("flower", "orange blossom"); args.setValString("bird", "mockingbird"); ics.CallElement("Experiment/Callee", args); int errs = ics.GetErrno();
Home > Contents > Index > ![]()
FatWire JAVA Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.