HomePrevNext

PartialForeach
net.sf.tacos.partial.PartialForeach
  Non-Visual Component
Description
Loops over a collection of source values. May also emulate an element (like an Any component). Provides ability to participate in Partial requests via the PartialRenderBlock interface.
Parameters
nametypedirectionrequireddefault valuedescription
sourcejava.lang.Objectcustom   The source of values, a Java collection or array.  
valuejava.lang.Objectcustom  null If provided, then on each iteration, the value property is updated.  
indexjava.lang.Objectcustom  null If provided, then the index of the loop is set on each iteration.  
elementjava.lang.Objectcustom  null If provided, then the Foreach creates an element wrapping its content. Informal parameters become attributes of the element.  
keyProviderjava.lang.Objectcustom   The IKeyProvider to use to determine Part ID's of values being iterated over.  
partialBlockjava.lang.Objectcustom  null The PartialRenderBlock service that will provide a valid IMarkupWriter to the loop iteration if the contents of the loop should be partially rendered, even if the partId of the contents isn't specifically in the part request.  
Allow body (rendered)
Allow informal parameters   
Reserved parameters   -
Toggle help

HomePrevNext