org.apache.struts.taglib.html
public class CheckboxTag extends BaseHandlerTag
Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
Field Summary | |
---|---|
protected static MessageResources | messages
The message resources for this package. |
protected String | name
The name of the bean containing our underlying property. |
protected String | property
The property name for this field. |
protected String | text
The body content of this tag (if any). |
protected String | value
The server value for this option. |
Method Summary | |
---|---|
int | doAfterBody()
Save the associated label from the body content.
|
int | doEndTag()
Process the remainder of this page normally.
|
int | doStartTag()
Generate the required input tag.
|
String | getName() |
String | getProperty()
Return the property name. |
String | getValue()
Return the server value. |
protected boolean | isChecked()
Determines if the checkbox should be checked. |
protected String | prepareName()
Prepare the name element |
void | release()
Release any acquired resources. |
void | setName(String name) |
void | setProperty(String property)
Set the property name.
|
void | setValue(String value)
Set the server value.
|
Throws: JspException if a JSP exception has occurred
Throws: JspException if a JSP exception has occurred
Support for indexed property since Struts 1.1
Throws: JspException if a JSP exception has occurred
Returns: true if checked="checked" should be rendered.
Throws: JspException
Since: Struts 1.2
Returns: The element name.
Parameters: property The new property name
Parameters: value The new server value