All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.openly.dt.ParamArray

com.openly.dt.EncodingDynamicTag   |   +----com.openly.dt.ParsingDynamicTag           |           +----com.openly.dt.ParamArray

public class ParamArray
extends com.openly.dt.ParsingDynamicTag
ParamArray provides another way to iterate over a result set. ParamArray is a dynamic tag implementation that uses 2 arguments. the first argument is the string, template or tag that is to be repeated. The second argument specifies a key to access a Param[] from the base Param. If the second argument is omitted, "com.openly.dt.ParamArray" is assumed.

SYNTAX:

    [[@com.openly.dt.ParamArray(template,arraykey)]]       

USAGE:

    [[@com.openly.dt.ParamArray(@template(noframetarget.tpl),array)]]     means: iterate the template noframetarget.tpl through all all the Params objects in the array accessed by calling params.get("array").
Check out Java and Linking related books at Openly.com!

See Also:
com.openly.util.Params

Constructor Index

 o ParamArray()

Method Index

 o writeValue(String, Params, OutputStream)

Constructors

 o ParamArray
 public ParamArray()

Methods

 o writeValue
 public void writeValue(java.lang.String param,                        com.openly.util.Params params,                        java.io.OutputStream out) throws java.io.IOException
Overrides:
writeValue in class com.openly.dt.EncodingDynamicTag

All Packages  Class Hierarchy  This Package  Previous  Next  Index