Home > Contents > Index >
OBJECT.ARGUMENT
Argument for other object tags.
Syntax
<OBJECT.ARGUMENT NAME="some name" VALUE="some value" CONDITION="some=condition"/>Parameters
NAME (required)
- Name of the tag the argument is for.
VALUE (required)
- Value for this argument.
CONDITION (optional)
- String condition of the form foo=bar. If the expression evaluates to true, then the argument will be used. If it evaluates to false, the argument will be ignored. The default value is true.
Description
This tag can only be used as a child tag for other tags in the object tag library.
errno
None.
Example
The following example creates an object table with the additional columns
name
anddescription
.
<OBJECT.INSTALL CLASSNAME="com.openmarket.framework.objects.AbstractObject" ARG1 ="sample"> <OBJECT.ARGUMENT NAME="name" value="VARCHAR(32) NOT NULL"/> <OBJECT.ARGUMENT NAME="description" value="VARCHAR(128) NOT NULL"/> </OBJECT.INSTALL>See Also
OBJECT.CREATE
OBJECT.INSTALL
Release Introduced
Home > Contents > Index > ![]()
FatWire XML Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.