org.apache.struts.taglib.bean
public class SizeTag extends TagSupport
Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
Field Summary | |
---|---|
protected Object | collection
The actual collection to be counted. |
protected String | id
The name of the scripting variable that will be exposed as a page
scope attribute. |
protected static MessageResources | messages
The message resources for this package. |
protected String | name
The name of the bean owning the property to be counted. |
protected String | property
The name of the property to be retrieved. |
protected String | scope
The scope within which to search for the specified bean. |
Method Summary | |
---|---|
int | doStartTag()
Retrieve the required property and expose it as a scripting variable.
|
Object | getCollection() |
String | getId() |
String | getName() |
String | getProperty() |
String | getScope() |
void | release()
Release all allocated resources. |
void | setCollection(Object collection) |
void | setId(String id) |
void | setName(String name) |
void | setProperty(String property) |
void | setScope(String scope) |
Throws: JspException if a JSP exception has occurred