Package org.apache.ofbiz.widget.model
Class ModelSingleForm
- java.lang.Object
-
- org.apache.ofbiz.widget.model.ModelWidget
-
- org.apache.ofbiz.widget.model.ModelForm
-
- org.apache.ofbiz.widget.model.ModelSingleForm
-
- All Implemented Interfaces:
java.io.Serializable
public class ModelSingleForm extends ModelForm
Models the <form> element.- See Also:
widget-form.xsd
, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.ofbiz.widget.model.ModelForm
ModelForm.AltRowStyle, ModelForm.AltTarget, ModelForm.AutoFieldsEntity, ModelForm.AutoFieldsService, ModelForm.Banner, ModelForm.FieldGroup, ModelForm.FieldGroupBase, ModelForm.SortField, ModelForm.UpdateArea
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Fields inherited from class org.apache.ofbiz.widget.model.ModelForm
DEFAULT_FORM_RESULT_LIST_NAME, DEFAULT_PAG_FIRST_STYLE, DEFAULT_PAG_INDEX_FIELD, DEFAULT_PAG_LAST_STYLE, DEFAULT_PAG_NEXT_STYLE, DEFAULT_PAG_PREV_STYLE, DEFAULT_PAG_SIZE_FIELD, DEFAULT_PAG_STYLE, DEFAULT_PAGE_SIZE, DEFAULT_SORT_FIELD_ASC_STYLE, DEFAULT_SORT_FIELD_DESC_STYLE, DEFAULT_SORT_FIELD_STYLE, fieldGroupList, fieldGroupMap, fieldList, MAX_PAGE_SIZE
-
Fields inherited from class org.apache.ofbiz.widget.model.ModelWidget
enableBoundaryCommentsParam
-
-
Constructor Summary
Constructors Constructor Description ModelSingleForm(org.w3c.dom.Element formElement, java.lang.String formLocation, ModelReader entityModelReader, DispatchContext dispatchContext)
XML Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelWidgetVisitor visitor)
protected ModelForm
getParentModel(org.w3c.dom.Element formElement, ModelReader entityModelReader, DispatchContext dispatchContext)
-
Methods inherited from class org.apache.ofbiz.widget.model.ModelForm
getActions, getAltRowStyles, getAltTargets, getAutoFieldsEntities, getAutoFieldsServices, getBoundaryCommentName, getClientAutocompleteFields, getContainerId, getContainerStyle, getDefaultEntityName, getDefaultFieldGroup, getDefaultMap, getDefaultMapName, getDefaultRequiredFieldStyle, getDefaultServiceName, getDefaultSortFieldAscStyle, getDefaultSortFieldDescStyle, getDefaultSortFieldStyle, getDefaultTableStyle, getDefaultTitleAreaStyle, getDefaultTitleStyle, getDefaultTooltipStyle, getDefaultViewSize, getDefaultWidgetAreaStyle, getDefaultWidgetStyle, getEmptyFormDataMessage, getEvenRowStyle, getFieldGroupList, getFieldGroupMap, getFieldList, getFocusFieldName, getFormLocation, getFormTitleAreaStyle, getFormWidgetAreaStyle, getGroupColumns, getHeaderRowStyle, getHideHeader, getItemIndexSeparator, getLastOrderFields, getListEntryName, getListName, getMultiPaginateIndexField, getMultiPaginateSizeField, getMultiSubmitFields, getOddRowStyle, getOnPaginateUpdateAreas, getOnSortColumnUpdateAreas, getOnSubmitUpdateAreas, getOverrideListSize, getOverrideListSize, getPaginate, getPaginate, getPaginateFirstLabel, getPaginateFirstLabel, getPaginateFirstStyle, getPaginateIndexField, getPaginateIndexField, getPaginateLastLabel, getPaginateLastLabel, getPaginateLastStyle, getPaginateNextLabel, getPaginateNextLabel, getPaginateNextStyle, getPaginatePreviousLabel, getPaginatePreviousLabel, getPaginatePreviousStyle, getPaginateSizeField, getPaginateSizeField, getPaginateStyle, getPaginateTarget, getPaginateTarget, getPaginateTargetAnchor, getPaginateViewSizeLabel, getPaginateViewSizeLabel, getParentFormLocation, getParentFormName, getParentModelForm, getPassedRowCount, getRowActions, getRowCount, getSeparateColumns, getSkipEnd, getSkipStart, getSortField, getSortFieldParameterName, getSortOrderFields, getStyleAltRowStyle, getTarget, getTarget, getTargetType, getTargetWindow, getTargetWindow, getTitle, getTooltip, getType, getUseRowSubmit, getUseWhenFields, isOverridenListSize, runFormActions
-
Methods inherited from class org.apache.ofbiz.widget.model.ModelWidget
getName, getStartColumn, getStartLine, getSystemId, toString, widgetBoundaryCommentsEnabled
-
-
-
-
Constructor Detail
-
ModelSingleForm
public ModelSingleForm(org.w3c.dom.Element formElement, java.lang.String formLocation, ModelReader entityModelReader, DispatchContext dispatchContext)
XML Constructor
-
-
Method Detail
-
accept
public void accept(ModelWidgetVisitor visitor) throws java.lang.Exception
- Specified by:
accept
in classModelWidget
- Throws:
java.lang.Exception
-
getParentModel
protected ModelForm getParentModel(org.w3c.dom.Element formElement, ModelReader entityModelReader, DispatchContext dispatchContext)
- Specified by:
getParentModel
in classModelForm
-
-