public class ContentManagerForm extends org.apache.wicket.markup.html.form.Form<ContentDescriber>
Form
to represent a ContentDescriber
from a site management perspective. It is responsible for all Actions/Operations on the Form.Constructor and Description |
---|
ContentManagerForm(String id,
org.apache.wicket.model.IModel<ContentDescriber> model) |
Modifier and Type | Method and Description |
---|---|
protected void |
delegateSubmit(org.apache.wicket.markup.html.form.IFormSubmittingComponent submittingComponent) |
Integer |
getSequenceBeforeSubmit() |
void |
onComplete()
On Complete of all submission activities
|
void |
onDelete()
When we want to change Order, only
|
void |
onMove(Long parentId,
Integer sequence)
When a Move operation is attempted, with a selected parent in the hierarchy; it also can handle ordering
by virtue of the service method supporting it.
|
void |
onReSequence(Integer sequence)
When we want to change Order, only
|
void |
onSave()
Save regular fields
|
void |
setSequenceBeforeSubmit(Integer sequenceBeforeSubmit) |
add, appendDefaultButtonField, beforeUpdateFormComponentModels, clearInput, encodeUrlInHiddenFields, error, findForm, findSubmittingButton, getDefaultButton, getFormValidators, getHiddenFieldId, getInputNamePrefix, getJavascriptId, getJsForInterfaceUrl, getMaxSize, getMethod, getModel, getModelObject, getRootForm, getRootFormRelativeId, getStatelessHint, getValidatorKeyPrefix, getValuePersister, handleMultiPart, hasError, internalOnModelChanged, isRootForm, isSubmitted, isVersioned, loadPersistentFormComponentValues, markFormComponentsInvalid, markFormComponentsValid, onBeforeRender, onComponentTag, onComponentTagBody, onDetach, onError, onFileUploadException, onFormSubmitted, onSubmit, onValidate, process, process, registerJavascriptNamespaces, remove, removePersistentFormComponentValues, renderHead, renderPlaceholderTag, setDefaultButton, setMaxSize, setModel, setModelObject, setMultiPart, setVersioned, updateFormComponentModels, validate, validateComponents, validateFormValidator, validateFormValidators, visitFormComponents, visitFormComponentsPostOrder, writeParamsAsHiddenFields
getMarkupType, getWebPage, getWebRequest
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getComponentBorder, getConverter, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeginRequest, onConfigure, onEndRequest, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVisibilityAllowed, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap
public ContentManagerForm(String id, org.apache.wicket.model.IModel<ContentDescriber> model)
protected void delegateSubmit(org.apache.wicket.markup.html.form.IFormSubmittingComponent submittingComponent)
delegateSubmit
in class org.apache.wicket.markup.html.form.Form<ContentDescriber>
@Transactional(readOnly=false) public void onSave()
public void onMove(Long parentId, Integer sequence)
public void onReSequence(Integer sequence)
sequence
- public void onDelete() throws Exception
sequence
- Exception
public void onComplete()
public Integer getSequenceBeforeSubmit()
public void setSequenceBeforeSubmit(Integer sequenceBeforeSubmit)
Copyright © 2018. All rights reserved.