public class

IteratorTag

extends WebWorkBodyTagSupport
java.lang.Object
   ↳ javax.servlet.jsp.tagext.TagSupport
     ↳ javax.servlet.jsp.tagext.BodyTagSupport
       ↳ webwork.view.taglib.WebWorkBodyTagSupport
         ↳ webwork.view.taglib.IteratorTag

Class Overview

Tag to iterate over an iterable value.

An iterable value can be either of: java.util.Collection, java.util.Iterator, java.util.Enumeration, java.util.Map, array, XML Node, or XML NodeList

Summary

[Expand]
Inherited Constants
From interface javax.servlet.jsp.tagext.BodyTag
From interface javax.servlet.jsp.tagext.IterationTag
From interface javax.servlet.jsp.tagext.Tag
Fields
protected Object currentValue
protected Iterator iterator
protected Object oldStatus
protected IteratorStatus status
protected String statusAttr
protected String statusName
protected IteratorStatus.StatusState statusState
protected String valueAttr
[Expand]
Inherited Fields
From class webwork.view.taglib.WebWorkBodyTagSupport
From class javax.servlet.jsp.tagext.BodyTagSupport
From class javax.servlet.jsp.tagext.TagSupport
Public Constructors
IteratorTag()
Public Methods
int doAfterBody()
int doStartTag()
void setStatus(String aName)
Set the name of the status object that is to be exposed.
void setValue(String aName)
Set the name of the property whose value is iterable.
[Expand]
Inherited Methods
From class webwork.view.taglib.WebWorkBodyTagSupport
From class javax.servlet.jsp.tagext.BodyTagSupport
From class javax.servlet.jsp.tagext.TagSupport
From class java.lang.Object
From interface javax.servlet.jsp.tagext.BodyTag
From interface javax.servlet.jsp.tagext.IterationTag
From interface javax.servlet.jsp.tagext.Tag

Fields

protected Object currentValue

protected Iterator iterator

protected Object oldStatus

protected IteratorStatus status

protected String statusAttr

protected String statusName

protected IteratorStatus.StatusState statusState

protected String valueAttr

Public Constructors

public IteratorTag ()

Public Methods

public int doAfterBody ()

Throws
JspException

public int doStartTag ()

public void setStatus (String aName)

Set the name of the status object that is to be exposed.

public void setValue (String aName)

Set the name of the property whose value is iterable.