public abstract class ModalDialogFragmentPanel<T>
extends org.apache.wicket.markup.html.panel.GenericPanel<T>
| Modifier and Type | Field and Description |
|---|---|
static String |
WICKET_WINDOW_UNLOAD_CONFIRMATION_FALSE_JS
The constant for the javascript to prevent to show confirmation dialog from browser(IE and
Firefox).
|
| Constructor and Description |
|---|
ModalDialogFragmentPanel(String id,
org.apache.wicket.model.IModel<T> model) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.apache.wicket.Component |
newFragmentContent(String id,
org.apache.wicket.model.IModel<T> model)
Abstract factory method for a new Component that will be added to the fragment.
|
protected org.apache.wicket.markup.html.panel.Fragment |
newModalFragment(String id,
String markupId,
org.apache.wicket.MarkupContainer markupProvider,
org.apache.wicket.model.IModel<T> model)
Factory method for creating a new Fragment for the content of the modal dialog.
|
protected org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow |
newModalWindow(String id,
org.apache.wicket.model.IModel<T> model)
Factory method for creating a new modal dialog.
|
protected org.apache.wicket.MarkupContainer |
newOpenModalLink(String id,
org.apache.wicket.model.IModel<T> model)
Factory method for creating a new Component to open the modal dialog.
|
protected void |
onClose(org.apache.wicket.ajax.AjaxRequestTarget target)
Callback method to hang on when the dialog is close.
|
protected void |
onInitialize() |
protected void |
onShow(org.apache.wicket.ajax.AjaxRequestTarget target)
Callback method to hang on when the dialog is open.
|
getModel, getModelObject, setModel, setModelObjectgetWebPage, getWebRequest, getWebResponse, getWebSessionadd, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildrenadd, 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, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onDetach, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static final String WICKET_WINDOW_UNLOAD_CONFIRMATION_FALSE_JS
protected abstract org.apache.wicket.Component newFragmentContent(String id, org.apache.wicket.model.IModel<T> model)
id - the idmodel - the modelprotected org.apache.wicket.markup.html.panel.Fragment newModalFragment(String id, String markupId, org.apache.wicket.MarkupContainer markupProvider, org.apache.wicket.model.IModel<T> model)
id - the idmarkupId - The associated id of the associated markup fragmentmarkupProvider - The component whose markup contains the fragment's markupmodel - The model for this fragmentprotected org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow newModalWindow(String id, org.apache.wicket.model.IModel<T> model)
id - the wicket idmodel - the modelprotected org.apache.wicket.MarkupContainer newOpenModalLink(String id, org.apache.wicket.model.IModel<T> model)
id - the wicket idmodel - the modelprotected void onClose(org.apache.wicket.ajax.AjaxRequestTarget target)
target - the ajax request target.protected void onInitialize()
onInitialize in class org.apache.wicket.Componentprotected void onShow(org.apache.wicket.ajax.AjaxRequestTarget target)
target - the ajax request target.Copyright © 2010–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.