Home > Contents > Index > 
Expanded TOC | Accordion TOC | Annotated TOC | Index 
ICS.runTag
Calls an XML tag from within a Java program.
Syntax
public String runTag(String sTag, FTValList vIn);Parameters
sTag- Name of the XML tag to invoke. The XML tag must be a singleton, and must not expect any nested argument tags. Do not specify any built-in XML tags, such as
 CSVAR.
vIn- A list containing any name/value pairs you are passing as arguments to the tag specified in
 sTag.
Description
Use
runTagto call an XML tag from within a Java program. To see if the XML tag ran properly, examine the value oferrnoby calling GetErrno .Returns
The string that would normally be output by the XML tag. Most XML tags do not return any output, so
runTagusually returnsNULL.Example
The Content Server XML tag
OBJECT.SETexpects the following three arguments:
NAME
FIELD
VALUEThe following Java code calls
OBJECT.SET, passing values for those three arguments:
FTValList args = new FTValList(); String output = null; args.setValString("NAME","obj1"); args.setValString("FIELD","type_char"); args.setValString("VALUE", "c100"); output = cs.runTag("OBJECT.SET", args);
Home > Contents > Index > ![]()
FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.