TagLib: Util

list

Description

The list tag lists all properties of the specified bean to the page output. This tag is most useful for debugging; in particular the list format may not be suitable for markup and should be contained in <PRE> or equivalent tags.

Tag Body

Empty

Restrictions

If the name attribute is not specified then uses a parent bean tag to locate the bean on which to operate.

Attributes

This tag has the following attributes:

Attribute

Description

Req'd?

name Name of the bean to use. No

Properties

None.

Example(s)

<%-- list the properties of a parent bean --%>
<util:bean type="java.util.Date">
<util:list/>
</util:bean>

<%-- list the properties of a named bean --%>
<util:bean id="date" type="java.util.Date"/>
...
<util:list name="date"/>