All Packages Class Hierarchy This Package Previous Next Index
Class com.openly.dt.Repeat
com.openly.dt.EncodingDynamicTag | +----com.openly.dt.ParsingDynamicTag | +----com.openly.dt.Repeat
- public class Repeat
- extends com.openly.dt.ParsingDynamicTag
Repeat is a dynamic tag implementation that uses 4 arguments. the fourth argument is the string, template or tag that is to be repeated. on each iteration, the value of the data item specified by the first item is incremented. tags should use this parameter to call out specific items from a list. the second argument specifies a start argument for the series, the third specifies the ending argument. Conditional Text has a synonym in JSText, "repeat".
USAGE:
[[@repeat(i,"0",n,@template(noframetarget.tpl)]] means: compute noframetarget.tpl n+1 times [[@repeat(i,"5","6",", [[i]]")]] means: print ", 5, 6"
- 10/28/2001 fixes misleading error message
- 2/18/2002 now uses getValue() from EncodingDynamicTag
Check out Java and Linking related books at Openly.com!

-
Repeat() -

-
writeValue(String, Params, OutputStream) -

Repeat public Repeat()

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