|
||||||||||
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.FormTag
public class FormTag
INTERNAL: Custom tag that represents an (HTML) input form holding different elements for modification of topic map object values.
Nested Class Summary | |
---|---|
static class |
FormTag.ValidationRule
INTERNAL: Internal class encapsulating validation rules |
Field Summary | |
---|---|
protected String |
action_uri
If a action URI is specified directly the default process servlet ACTION is overwritten. |
protected String |
actiongroup
The action group this form uses, important for the contained input fields and buttons. |
protected String |
enctype
|
protected String |
focus
The name of the field to receive focus, if any. |
protected String |
idattr
The id of the tag. |
protected String |
klass
|
protected String |
lockVarname
(Optional) Name of variable which should be tried to lock, because of the modifications that may be involved in this form. |
protected static String |
NAME
The attribute key under which the associated bean giving access to this form is stored. |
protected Boolean |
nested
|
protected String |
readonly
State of the form that specifies whether it is read-only or not. |
static String |
REQUEST_ID_ATTRIBUTE_NAME
|
protected String |
requestId
|
protected String |
target
If target is specified it will override the default TARGET. |
protected static String |
TEMPLATE_FILE
The default location where the velocity template can be retrieved from. |
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, 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 | |
---|---|
FormTag()
|
Method Summary | |
---|---|
int |
doAfterBody()
Renders the input form element with it's content. |
int |
doStartTag()
|
String |
getActiongroup()
|
void |
release()
Releases any acquired resources. |
void |
setActiongroup(String actiongroup)
|
void |
setActionURI(String action_uri)
|
void |
setClass(String klass)
Sets the class attribute of the tag. |
void |
setEnctype(String enctype)
|
void |
setId(String idattr)
|
void |
setLock(String lock_varname)
|
void |
setNested(String nested)
|
protected void |
setOutputSubmitFunc(boolean b)
|
void |
setReadonly(String readonly)
|
void |
setTarget(String target)
|
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
doEndTag, doInitBody, 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 static final String NAME
protected String idattr
protected String klass
protected String readonly
protected String actiongroup
protected String lockVarname
protected Boolean nested
protected String action_uri
Constants.PROCESS_SERVLET
protected String target
protected String focus
protected String enctype
protected String requestId
public static final String REQUEST_ID_ATTRIBUTE_NAME
Constructor Detail |
---|
public FormTag()
Method Detail |
---|
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
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 void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
public void setId(String idattr)
setId
in class javax.servlet.jsp.tagext.TagSupport
public void setReadonly(String readonly)
public void setClass(String klass)
public void setActiongroup(String actiongroup)
public String getActiongroup()
public void setActionURI(String action_uri)
public void setTarget(String target)
public void setLock(String lock_varname)
public void setNested(String nested)
public void setEnctype(String enctype)
protected void setOutputSubmitFunc(boolean b)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |