agonism.dovetail.site
Class Form
java.lang.Object
|
+--agonism.dovetail.site.DovetailInstance
|
+--agonism.dovetail.site.Form
- public class Form
- extends DovetailInstance
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Form
protected Form(IRequestContext context,
QForm form)
getName
public java.lang.String getName()
getErrors
public java.util.Collection getErrors()
process
public boolean process()
getElement
public FormElement getElement(java.lang.String name)
formElements
public java.util.Enumeration formElements()
getElementForColumn
public FormElement getElementForColumn(Column column)
getSubmit
public Submit getSubmit(java.lang.String name)
renderErrors
public void renderErrors()
renderErrors
public void renderErrors(int width)
renderBegin
public void renderBegin()
- Opens the <form> tag on the page. This method automatically determines what
method, action, and enctype to use for the form.
- See Also:
renderEnd()
writeHiddenValues
public void writeHiddenValues(DummyRequestContext context)
renderEnd
public void renderEnd()
- This method writes out all the hidden form inputs and closes the <form> tag.
It should be called on the Form object after all of the form inputs have been rendered.
- See Also:
renderBegin()
preProcess
protected boolean preProcess()
- This method is called before the form is processed. This method doesn't do anything
by default.
- Returns:
- whether processing should continue or not.
true
by default.
getPageName
protected java.lang.String getPageName()