T - the generic type of the model object.public abstract class ModalDialogFragmentPanel<T>
extends de.alpharogroup.wicket.base.BasePanel<T>
ModalDialogFragmentPanel is a panel that holds a modal window with a fragment
as it content.| 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).
|
ENABLE, FLAG_AFTER_RENDERING, FLAG_INITIALIZED, FLAG_PREPARED_FOR_RENDER, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RENDERING, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER, RFLAG_CONTAINER_DEQUEING| Constructor and Description |
|---|
ModalDialogFragmentPanel(String id,
org.apache.wicket.model.IModel<T> model)
Instantiates a new
ModalDialogFragmentPanel. |
| 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 create 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
ModalWindow. |
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 ModalWindow. |
protected void |
onClose(org.apache.wicket.ajax.AjaxRequestTarget target)
Abstract callback method that have to be overwritten to provide specific action for close the
ModalWindow. |
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, setModelObjectgetRegionMarkup, newMarkupSourcingStrategygetWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSessionadd, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findComponentToDequeue, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onAfterRenderChildren, onComponentTagBody, onDetach, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, canCallListenerInterface, canCallListenerInterfaceAfterExpiry, 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, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, 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
public ModalDialogFragmentPanel(String id, org.apache.wicket.model.IModel<T> model)
ModalDialogFragmentPanel.id - the idmodel - the modelprotected abstract org.apache.wicket.Component newFragmentContent(String id, org.apache.wicket.model.IModel<T> model)
Component that will be added to the
fragment. This method is invoked in the constructor from the derived classes and have to be
implemented so users can provide their own version of a new Component.id - the idmodel - the modelComponent 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)
Fragment for the content of the modal dialog. This
method is invoked in the constructor from the derived classes and can be overridden so users
can provide their own version of a new Fragment for the content of the modal dialog.id - the idmarkupId - The associated id of the associated markup fragmentmarkupProvider - The component whose markup contains the fragment's markupmodel - The model for this fragmentFragment 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)
ModalWindow. This method is invoked in the
constructor from the derived classes and can be overridden so users can provide their own
version of a new ModalWindow.id - the wicket idmodel - the modelModalWindow.protected org.apache.wicket.MarkupContainer newOpenModalLink(String id, org.apache.wicket.model.IModel<T> model)
Component to open the ModalWindow. This
method is invoked in the constructor from the derived classes and can be overridden so users
can provide their own version of a new Component to open the ModalWindow.id - the wicket idmodel - the modelComponent to open the ModalWindow.protected void onClose(org.apache.wicket.ajax.AjaxRequestTarget target)
ModalWindow.target - the targetprotected void onInitialize()
onInitialize in class org.apache.wicket.Componentprotected void onShow(org.apache.wicket.ajax.AjaxRequestTarget target)
target - the ajax request target.Copyright © 2010–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.