class: Loop

public class: Loop
Author: franke (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1850 $ $LastChangedDate: 2008-12-17 13:; Complexity: 1
Dates: Created: 16.07.2009 15:31:46; Modified: 16.07.2009 15:31:46;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {A0539979-3C19-4be7-8D54-16663D2AF163}
Custom JSF component looping obver a given list.
 

Goto: Custom Properties, Fields, Methods

Appears in: components

Custom Properties
 
Loop Attributes
Attribute Details
private Object
  _values
private String
  dir
private String
  intermediate
private static Logger
  logger
Initial: Logger.getLogger(Loop.class)
 
Loop Methods
Operation Details
public
encodeBegin(
   FacesContext context):void
Sequential
Tags: throws=IOException
public
encodeChildren(
   FacesContext context):void
Sequential
Tags: throws=IOException
public
encodeEnd(
   FacesContext context):void
Sequential
Tags: throws=IOException
protected
encodeRecursive(
   FacesContext context,
   UIComponent component):void
Sequential
Tags: throws=IOException
Notes: <p> Render nested child components by invoking the encode methods on those components, but only when the
<code>rendered</code> property is <code>true</code>.
</p>
protected
getChildren(
   UIComponent component):Iterator
Sequential
Notes: @return an Iterator over the children of the specified component, selecting only those that have a
<code>rendered</code> property of <code>true</code>.
public
getDir():String
Sequential
public
getFamily():String
Sequential
Tags: annotations=@Override
Notes: (non-Javadoc)
@see javax.faces.component.UIComponent#getFamily()
public
getIntermediate():String
Sequential
public
getRendersChildren():boolean
Sequential
Tags: annotations=@Override
public
Loop():
Sequential
Notes: Default constructor.
protected
renderElement(
   FacesContext context,
   UIComponent data,
   ResponseWriter writer):void
Sequential
Tags: throws=IOException
protected
renderElementEnd(
   UIComponent table,
   ResponseWriter writer):void
Sequential
Tags: throws=IOException
Notes: Renders the closing <code>rt</code> element.
protected
renderElementStart(
   UIComponent table,
   ResponseWriter writer):void
Sequential
Tags: throws=IOException
Notes: Renders the starting <code>tr</code> element applying any values from the <code>rowClasses</code> attribute.
protected
renderLoopEnd(
   UIComponent table,
   ResponseWriter writer):void
Sequential
Tags: throws=IOException
Notes: Renders the closing <code>table</code> element.
protected
renderLoopStart(
   FacesContext context,
   UIComponent loopComponent,
   ResponseWriter writer):void
Sequential
Tags: throws=IOException
Notes: Renders the start of a table and applies the value of <code>styleClass</code> if available and renders any pass through attributes that may be specified.
public
restoreState(
   FacesContext _context,
   Object _state):void
Sequential
public
saveState(
   FacesContext _context):Object
Sequential
public
setDir(
   String dir):void
Sequential
public
setIntermediate(
   String intermediate):void
Sequential