org.apache.struts.taglib.bean
public class DefineTag extends BodyTagSupport
Version: $Rev: 190780 $ $Date: 2005-06-15 18:09:02 +0100 (Wed, 15 Jun 2005) $
Field Summary | |
---|---|
protected String | body
The body content of this tag (if any). |
protected String | id
The name of the scripting variable that will be exposed as a page
scope attribute. |
static Log | log
Commons logging instance. |
protected static MessageResources | messages
The message resources for this package. |
protected String | name
The name of the bean owning the property to be exposed. |
protected String | property
The name of the property to be retrieved. |
protected String | scope
The scope within which to search for the specified bean. |
protected String | toScope
The scope within which the newly defined bean will be creatd. |
protected String | type
The fully qualified Java class name of the value to be exposed. |
protected String | value
The (String) value to which the defined bean will be set. |
Method Summary | |
---|---|
int | doAfterBody()
Save the body content of this tag (if any), or throw a JspException
if the value was already defined.
|
int | doEndTag()
Retrieve the required property and expose it as a scripting variable.
|
int | doStartTag()
Check if we need to evaluate the body of the tag
|
String | getId() |
String | getName() |
String | getProperty() |
String | getScope() |
String | getToScope() |
String | getType() |
String | getValue() |
void | release()
Release all allocated resources. |
void | setId(String id) |
void | setName(String name) |
void | setProperty(String property) |
void | setScope(String scope) |
void | setToScope(String toScope) |
void | setType(String type) |
void | setValue(String value) |
Throws: JspException if value was defined by an attribute
Throws: JspException if a JSP exception has occurred
Throws: JspException if a JSP exception has occurred