org.apache.struts.taglib.html
public class SubmitTag extends BaseHandlerTag
Version: $Rev: 164530 $ $Date: 2005-04-25 04:11:07 +0100 (Mon, 25 Apr 2005) $
Field Summary | |
---|---|
protected static MessageResources | messages
The message resources for this package. |
protected String | property
The name of the generated input field. |
protected String | text
The body content of this tag (if any). |
protected String | value
The value of the button label. |
Method Summary | |
---|---|
int | doAfterBody()
Save the associated label from the body content.
|
int | doEndTag()
Process the end of this tag.
|
int | doStartTag()
Process the start of this tag.
|
protected String | getDefaultValue()
Return the default value.
|
protected String | getElementOpen()
Render the opening element.
|
String | getProperty()
Return the property. |
String | getValue()
Return the label value. |
protected void | prepareButtonAttributes(StringBuffer results)
Render the button attributes |
protected String | prepareName()
Prepare the name element |
protected void | prepareValue(StringBuffer results)
Render the value element |
void | release()
Release any acquired resources. |
void | setProperty(String property)
Set the property name.
|
void | setValue(String value)
Set the label value.
|
Throws: JspException if a JSP exception has occurred
Support for Indexed property since Struts 1.1
Throws: JspException if a JSP exception has occurred
Throws: JspException if a JSP exception has occurred
Returns: The default value if none supplied.
Returns: The opening part of the element.
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 property name
Parameters: value The label value