tWebValueTree
See Also: String, Declaring Variables, Struct, ClientAction, ptActionData
Purpose
The tWebValueTree structure type is used to store 'value tree' data. Value trees are used to pass data between the web server application and the client during Web Framework server calls. They are also used to shuttle data between DataFlex struct arrays and XML SOAP documents.
Type Declaration
Struct tWebValueTree
String v
tWebValueTree[] c
End_Struct
Struct Members
v
This member carries the data value for a single leaf of the value tree structure. This member should only contain a value if there are no children, i.e., the array member c is empty.
c
This member contains an array of child value trees, each also of type tWebValueTree. This array should only have elements if the v member is empty.
The struct member names (c and v) are deliberately small to optimize (lower) the size of data that is transmitted during Web Framework server calls.
Syntax
Use tWebValueTree.pkg
:
tWebValueTree {variableName}
Declaring Variables
To declare tWebValueTree variables, use the name of the type (tWebValueTree) followed by the variable name.
tWebValueTree MyWebValueTree
See struct variables for more details on instantiating struct types.