org.apache.struts.taglib.html
public abstract class BaseFieldTag extends BaseInputTag
Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
Field Summary | |
---|---|
protected String | accept
Comma-delimited list of content types that a server processing this form
will handle correctly. |
protected boolean | redisplay
The "redisplay contents" flag (used only on password ). |
protected String | type
The type of input field represented by this tag (text, password, or
hidden). |
Method Summary | |
---|---|
int | doStartTag()
Generate the required input tag.
|
protected String | formatValue(Object value)
Return the given value as a formatted String . |
String | getAccept() |
boolean | getRedisplay() |
protected void | prepareValue(StringBuffer results)
Render the value element |
void | release()
Release any acquired resources. |
protected String | renderInputElement()
Renders a fully formed <input> element. |
void | setAccept(String accept) |
void | setRedisplay(boolean redisplay) |
file
tag, but is implemented here because it affects the
rendered HTML of the corresponding <input> tag.password
).Support for indexed property since Struts 1.1
Throws: JspException if a JSP exception has occurred
String
. This
implementation escapes potentially harmful HTML characters.
Parameters: value The value to be formatted. null
values will
be returned as the empty String "".
Throws: JspException if a JSP exception has occurred
Since: Struts 1.2
Parameters: results The StringBuffer that output will be appended to.
Throws: JspException
Since: Struts 1.2