org.araneaframework.jsp.tag.form
Class BaseSystemFormHtmlTag

java.lang.Object
  extended byorg.araneaframework.jsp.tag.BaseTag
      extended byorg.araneaframework.jsp.tag.form.BaseSystemFormHtmlTag
All Implemented Interfaces:
ContainedTagInterface, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
Direct Known Subclasses:
AraneaSystemFormHtmlTag

public abstract class BaseSystemFormHtmlTag
extends BaseTag

Abstract base class for systemForm tags. System form maps into HTML form.

Author:
Oleg Mürk

Field Summary
protected  String derivedId
           
protected  String enctype
           
static String GET_METHOD
           
protected  String method
           
static String POST_METHOD
           
protected  String styleClass
           
 
Fields inherited from class org.araneaframework.jsp.tag.BaseTag
GLOBAL_CONTEXT_ENTRIES_KEY, pageContext, parent
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
BaseSystemFormHtmlTag()
           
 
Method Summary
protected  int doEndTag(Writer out)
          Internal callback: after tag.
protected  int doStartTag(Writer out)
          Internal callback: before tag.
protected abstract  String getAcceptCharset()
           
protected abstract  String getFormAction()
           
 void setEnctype(String enctype)
           
 void setId(String id)
           
 void setMethod(String method)
           
 void setStyleClass(String styleClass)
           
 
Methods inherited from class org.araneaframework.jsp.tag.BaseTag
addContextEntry, doCatch, doEndTag, doFinally, doStartTag, evaluate, evaluateNotNull, executeEndSubtag, executeEndTagAndUnregister, executeStartSubtag, executeSubtag, getConfiguration, getContextEntry, getContextWidget, getContextWidgetFullId, getEnvironment, getLocalizationContext, getOutputData, getParent, hideGlobalContextEntries, registerAndExecuteStartTag, registerSubtag, release, requireContextEntry, restoreGlobalContextEntries, setPageContext, setParent, unregisterSubtag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GET_METHOD

public static final String GET_METHOD
See Also:
Constant Field Values

POST_METHOD

public static final String POST_METHOD
See Also:
Constant Field Values

derivedId

protected String derivedId

method

protected String method

enctype

protected String enctype

styleClass

protected String styleClass
Constructor Detail

BaseSystemFormHtmlTag

public BaseSystemFormHtmlTag()
Method Detail

doStartTag

protected int doStartTag(Writer out)
                  throws Exception
Description copied from class: BaseTag
Internal callback: before tag.

Overrides:
doStartTag in class BaseTag
Throws:
Exception

doEndTag

protected int doEndTag(Writer out)
                throws Exception
Description copied from class: BaseTag
Internal callback: after tag.

Overrides:
doEndTag in class BaseTag
Throws:
Exception

setId

public void setId(String id)
           throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
Jsp.attribute:
type = "java.lang.String" required = "false" description = "Form name, autogenerated if omitted."

setMethod

public void setMethod(String method)
               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
Jsp.attribute:
type = "java.lang.String" required = "true" description = "Submitting method: GET or POST."

setEnctype

public void setEnctype(String enctype)
                throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
Jsp.attribute:
type = "java.lang.String" required = "false" description = "Form data encoding type."

setStyleClass

public void setStyleClass(String styleClass)
                   throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
Jsp.attribute:
type = "java.lang.String" required = "false" description = "CSS class for tag"

getAcceptCharset

protected abstract String getAcceptCharset()

getFormAction

protected abstract String getFormAction()
                                 throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException