public abstract class DestinationDialog extends AbstractDialog implements IWorkflowInvoker
AbstractDialog.ExceptionFeedbackPanel, AbstractDialog.PersistentFeedbackMessagesModel
cancelled, feedback, fmm
ENCTYPE_MULTIPART_FORM_DATA, METHOD_GET, METHOD_POST
Constructor and Description |
---|
DestinationDialog(org.apache.wicket.model.IModel<String> title,
org.apache.wicket.model.IModel<String> question,
org.apache.wicket.model.IModel<String> nameModel,
NodeModelWrapper destination,
IPluginContext context,
IPluginConfig config) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkFolderTypes()
Check if the destination folder is allowed by foldertype configuration to contain the type of document being
worked on.
|
protected boolean |
checkPermissions() |
org.apache.wicket.util.value.IValueMap |
getProperties()
Properties that determine how the dialog is rendered.
|
org.apache.wicket.model.IModel |
getTitle()
The title of the dialog.
|
protected boolean |
isOkEnabled() |
void |
onClose()
Implement onClose callback, invoked when the dialog is closed.
|
protected void |
onOk()
Callback method invoked when the user clicks the 'OK' button.
|
void |
render(PluginRequestTarget target)
Part of the pre-rendering registration.
|
addAjaxIndicator, addButton, closeDialog, delegateSubmit, getAdditionalFullscreenScript, getAjaxIndicatorMarkupId, getComponent, getExceptionTranslation, getFeedbackMessagesModel, getFullscreenScript, getSession, handleSubmit, isFullscreenEnabled, newFeedbackPanel, onCancel, onDetach, onError, onRemove, onSubmit, process, removeButton, setAjaxChannel, setButtonCssClass, setCancelEnabled, setCancelKeyType, setCancelLabel, setCancelLabel, setCancelVisible, setDialogService, setFocus, setFocus, setFocusOnCancel, setFocusOnOk, setNonAjaxSubmit, setOkEnabled, setOkKeyType, setOkLabel, setOkLabel, setOkVisible
add, appendDefaultButtonField, beforeUpdateFormComponentModels, callOnError, clearInput, encodeUrlInHiddenFields, error, findForm, findSubmittingButton, getActionUrl, getDefaultButton, getFileMaxSize, getFormValidators, getHiddenFieldId, getInputNamePrefix, getJsForInterfaceUrl, getMaxSize, getMethod, getModel, getModelObject, getRootForm, getRootFormRelativeId, getStatelessHint, getValidatorKeyPrefix, handleMultiPart, hasError, internalOnModelChanged, isMultiPart, isRootForm, isSubmitted, markFormComponentsInvalid, markFormComponentsValid, onBeforeRender, onComponentTag, onComponentTagBody, onFileUploadException, onFormSubmitted, onFormSubmitted, onMethodMismatch, onValidate, onValidateModelObjects, registerJavaScriptNamespaces, remove, renderHead, renderPlaceholderTag, setDefaultButton, setFileMaxSize, setMaxSize, setModel, setModelObject, setMultiPart, setVersioned, updateFormComponentModels, validate, validateComponents, validateFormValidator, validateFormValidators, visitFormComponents, visitFormComponentsPostOrder, wantSubmitOnNestedFormSubmit, writeParamsAsHiddenFields
getWebPage, getWebRequest, getWebResponse, getWebSession
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSizeInBytes, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onAfterRender, onConfigure, onEvent, onInitialize, onModelChanged, onModelChanging, onReAdd, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
invokeWorkflow
forEach, spliterator
public DestinationDialog(org.apache.wicket.model.IModel<String> title, org.apache.wicket.model.IModel<String> question, org.apache.wicket.model.IModel<String> nameModel, NodeModelWrapper destination, IPluginContext context, IPluginConfig config)
public void render(PluginRequestTarget target)
AbstractDialog
Implementations must invoke IRenderService.render(PluginRequestTarget)
on render services that contribute to the wicket component hierarchy.
render
in interface IDialogService.Dialog
render
in class AbstractDialog
protected void onOk()
AbstractDialog
onOk
in class AbstractDialog
public final void onClose()
AbstractDialog
onClose
in interface IDialogService.Dialog
onClose
in class AbstractDialog
public org.apache.wicket.model.IModel getTitle()
IDialogService.Dialog
getTitle
in interface IDialogService.Dialog
public org.apache.wicket.util.value.IValueMap getProperties()
AbstractDialog
getProperties
in interface IDialogService.Dialog
getProperties
in class AbstractDialog
protected boolean isOkEnabled()
protected boolean checkPermissions()
protected boolean checkFolderTypes()
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.