org.apache.tapestry.corelib.components
Class Loop
java.lang.Object
org.apache.tapestry.corelib.components.Loop
@SupportsInformalParameters
public class Loop
- extends Object
Basic looping class; loops over a number of items (provided by its source parameter), rendering its body for each
one. It turns out that gettting the component to not store its state in the Form is very tricky and, in
fact, a series of commands for starting and ending heartbeats, and advancing through the iterator, are still stored.
For a non-volatile Loop inside the form, the Loop stores a series of commands that start and end heartbeats and store
state (either as full objects when there the encoder parameter is not bound, or as client-side objects when there is
an encoder).
|
Constructor Summary |
Loop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Loop
public Loop()
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.