org.apache.struts.taglib.html
Class CheckboxTag
Tag for input fields of type "checkbox".
$Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $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.
|
accesskey , alt , altKey , bundle , defaultLocale , disabled , doDisabled , doReadonly , errorKey , errorStyle , errorStyleClass , errorStyleId , indexed , locale , log , loopTagStatusClass , loopTagStatusGetIndex , loopTagSupportClass , loopTagSupportGetStatus , messages , onblur , onchange , onclick , ondblclick , onfocus , onkeydown , onkeypress , onkeyup , onmousedown , onmousemove , onmouseout , onmouseover , onmouseup , onselect , readonly , style , styleClass , styleId , tabindex , title , titleKey , triedJstlInit , triedJstlSuccess |
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.
|
doErrorsExist , getAccesskey , getAlt , getAltKey , getBundle , getDisabled , getElementClose , getErrorKey , getErrorStyle , getErrorStyleClass , getErrorStyleId , getIndexValue , getIndexed , getJstlLoopIndex , getLocale , getOnblur , getOnchange , getOnclick , getOndblclick , getOnfocus , getOnkeydown , getOnkeypress , getOnkeyup , getOnmousedown , getOnmousemove , getOnmouseout , getOnmouseover , getOnmouseup , getOnselect , getReadonly , getStyle , getStyleClass , getStyleId , getTabindex , getTitle , getTitleKey , isXhtml , lookupProperty , message , prepareAttribute , prepareEventHandlers , prepareFocusEvents , prepareIndex , prepareKeyEvents , prepareMouseEvents , prepareName , prepareOtherAttributes , prepareStyles , prepareTextEvents , release , setAccesskey , setAlt , setAltKey , setBundle , setDisabled , setErrorKey , setErrorStyle , setErrorStyleClass , setErrorStyleId , setIndexed , setLocale , setOnblur , setOnchange , setOnclick , setOndblclick , setOnfocus , setOnkeydown , setOnkeypress , setOnkeyup , setOnmousedown , setOnmousemove , setOnmouseout , setOnmouseover , setOnmouseup , setOnselect , setReadonly , setStyle , setStyleClass , setStyleId , setTabindex , setTitle , setTitleKey |
messages
protected static MessageResources messages
The message resources for this package.
name
protected String name
The name of the bean containing our underlying property.
property
protected String property
The property name for this field.
text
protected String text
The body content of this tag (if any).
value
protected String value
The server value for this option.
doAfterBody
public int doAfterBody()
throws JspException
Save the associated label from the body content.
doEndTag
public int doEndTag()
throws JspException
Process the remainder of this page normally.
doStartTag
public int doStartTag()
throws JspException
Generate the required input tag.
Support for indexed property since Struts 1.1
getName
public String getName()
getProperty
public String getProperty()
Return the property name.
getValue
public String getValue()
Return the server value.
isChecked
protected boolean isChecked()
throws JspException
Determines if the checkbox should be checked.
- true if checked="checked" should be rendered.
prepareName
protected String prepareName()
throws JspException
Prepare the name element
- prepareName in interface BaseHandlerTag
setName
public void setName(String name)
setProperty
public void setProperty(String property)
Set the property name.
property
- The new property name
setValue
public void setValue(String value)
Set the server value.
value
- The new server value
Copyright B) 2000-2007 - The Apache Software Foundation