public class PageHTMLForm extends BaseHTMLForm
MapForm.ParseVisitorFORM_STAGE_INPUT, FORM_STATE_ATTR, MULTI_STAGE_FORMS, self, stage, target_stageaction_name, GENERAL_ERRORadditional_confirm, log, validators| Constructor and Description |
|---|
PageHTMLForm(AppContext c) |
PageHTMLForm(AppContext c,
java.lang.String submitted) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGeneralError() |
<X extends HtmlPrinter> |
getHiddenForm(X result) |
java.lang.String |
getHtmlForm()
Get the actual HTML form with markup
|
HtmlBuilder |
getHtmlForm(HtmlBuilder result) |
boolean |
hasError() |
boolean |
hasSubmitted() |
boolean |
hasSubmitted(HttpServletRequest request)
check for a submitted form before parsing the post.
|
boolean |
parsePost(HttpServletRequest request)
Parse the post parameters needs to be called before the
Form is shown.
|
emitHiddenParam, emitHiddenParam, getActionButtons, getActionButtons, getHiddenForm, getHiddenParam, getHtmlFieldTable, getHtmlFieldTable, getTargetStage, isComplete, poll, setTargetStage, supportsMultiStageaddStringMap, doAction, getActionName, getShortcutAction, locateAction, parsePost, setActionName, validateaddAction, addInput, addInput, addValidator, clear, containsInput, diff, doAction, fieldCount, get, getAction, getActionNames, getAutoFocus, getContents, getContext, getField, getFieldIterator, getFieldNames, getFormID, getInput, getItem, getLogger, getSingleActionName, getTable, getValidators, hasActions, hasField, iterator, makeField, mustConfirm, put, removeAction, removeField, removeValidator, setAutoFocus, setConfirm, setContents, setFormID, toString, update, validatepublic PageHTMLForm(AppContext c)
public PageHTMLForm(AppContext c, java.lang.String submitted)
public boolean parsePost(HttpServletRequest request)
request - public boolean hasSubmitted(HttpServletRequest request)
request - public java.lang.String getHtmlForm()
public HtmlBuilder getHtmlForm(HtmlBuilder result)
public <X extends HtmlPrinter> X getHiddenForm(X result)
getHiddenForm in class BaseHTMLFormpublic boolean hasSubmitted()
public boolean hasError()
public java.lang.String getGeneralError()