|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
net.ontopia.topicmaps.webed.taglibs.form.FileTag
public class FileTag
INTERNAL: Custom tag for input fields that allow a file to be uploaded to an HTML form.
Field Summary | |
---|---|
protected String |
action_name
|
protected String |
id
|
protected String |
klass
|
protected String |
params
|
protected String |
readonly
|
protected static String |
TEMPLATE_FILE
The default file name of the Velocity template. |
protected String |
value
|
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
FileTag()
|
Method Summary | |
---|---|
int |
doAfterBody()
Stores the body content, which becomes the value of the file control. |
int |
doEndTag()
Renders the input field element with its content. |
void |
release()
Release any acquired resources. |
void |
setAction(String action_name)
Sets the name of the related action. |
void |
setClass(String klass)
Sets the class attribute of the tag. |
void |
setId(String id)
Sets the id of the tag. |
void |
setParams(String params)
Sets the variable name(s) of the parameter(s) transmitted to the action, separated by whitespaces. |
void |
setReadonly(String readonly)
Sets the the readonly flag of the tag. |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
getParent, setPageContext, setParent |
Field Detail |
---|
protected static final String TEMPLATE_FILE
protected String id
protected String readonly
protected String klass
protected String action_name
protected String params
protected String value
Constructor Detail |
---|
public FileTag()
Method Detail |
---|
public int doAfterBody() throws javax.servlet.jsp.JspException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
public void setId(String id)
setId
in class javax.servlet.jsp.tagext.TagSupport
public void setReadonly(String readonly)
public void setClass(String klass)
public void setAction(String action_name)
public void setParams(String params)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |