org.apache.struts.taglib.html
public class MultiboxTag extends BaseHandlerTag
Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
Field Summary | |
---|---|
protected String | constant
The constant String value to be returned when this checkbox is
selected and the form is submitted. |
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 | value
The value which will mark this checkbox as "checked" if present
in the array returned by our property getter. |
Method Summary | |
---|---|
int | doAfterBody()
Save the body contents of this tag as the constant that we will
be returning.
|
int | doEndTag()
Render an input element for this tag.
|
int | doStartTag()
Process the beginning of this tag.
|
String | getName() |
String | getProperty()
Return the property name. |
String | getValue()
Return the server value. |
protected void | prepareChecked(StringBuffer results, String value)
Render the checked element |
protected String | prepareName()
Prepare the name element |
protected String | prepareValue(StringBuffer results)
Render the value 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
Throws: JspException if a JSP exception has occurred
Parameters: results The StringBuffer that output will be appended to.
Returns: The element name.
Parameters: results The StringBuffer that output will be appended to.
Parameters: property The new property name
Parameters: value The new server value