public class BaseModal<T extends Serializable>
extends de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal<T>
Modifier and Type | Class and Description |
---|---|
static class |
BaseModal.ChangeFooterVisibilityEvent |
static class |
BaseModal.ModalEvent
Generic modal event.
|
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_ID
the default id of the content component
|
protected static org.slf4j.Logger |
LOG |
protected NotificationPanel |
notificationPanel |
BUTTON_MARKUP_ID
ENABLE, FLAG_INITIALIZED, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER, RFLAG_CONTAINER_DEQUEING, RFLAG_CONTAINER_HAS_REMOVALS
addButton, addCloseButton, addCloseButton, addOpenerAttributesTo, appendCloseDialogJavaScript, appendDisableEnforceFocus, appendShowDialogJavaScript, close, createActionScript, createBasicInitializerScript, createDialog, createFooter, createHeader, createHeaderCloseButton, createHeaderLabel, header, header, onComponentTag, onConfigure, setBackdrop, setCloseOnEscapeKey, setDisableEnforceFocus, setFadeIn, setFooterVisible, setHeaderVisible, setUseCloseHandler, setUseKeyboard, show, show, showImmediately, size, useFadein, useKeyboard
getRegionMarkup, newMarkupSourcingStrategy
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSession
add, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findChildComponent, findComponentToDequeue, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onComponentTagBody, onDetach, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, stream, streamChildren, toString, toString, visitChildren, visitChildren
add, addStateChange, beforeRender, canCallListener, canCallListenerAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, createConverter, 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, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isInitialized, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onModelChanged, onModelChanging, onReAdd, onRemove, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderPart, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlForListener, urlForListener, visitParents, visitParents, warn, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDefaultModel, getDefaultModelObject, getModel, getModelObject, setDefaultModel, setDefaultModelObject, setModel, setModelObject
dequeue, newDequeueContext
forEach, spliterator
protected static final org.slf4j.Logger LOG
public static final String CONTENT_ID
protected NotificationPanel notificationPanel
public BaseModal(String id)
public T getFormModel()
public ModalPanel getContent()
public BaseModal<T> setContent(ModalPanel component)
public BaseModal<T> setContent(ModalPanel component, AjaxRequestTarget target)
public BaseModal<T> changeCloseButtonLabel(String label, AjaxRequestTarget target)
public static String getContentId()
public BaseModal<T> setWindowClosedCallback(ModalWindow.WindowClosedCallback callback)
protected void onClose(IPartialPageRequestHandler target)
onClose
in class de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal<T extends Serializable>
public AjaxSubmitLink addSubmitButton()
public void removeSubmitButton()
protected void onInitialize()
onInitialize
in class MarkupContainer
public void onEvent(IEvent<?> event)
onEvent
in interface IEventSink
onEvent
in class Component
public final de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal<T> useCloseHandler(boolean useCloseHandler)
useCloseHandler
- True if close handler should be usedpublic void renderHead(IHeaderResponse response)
renderHead
in interface IHeaderContributor
renderHead
in class de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal<T extends Serializable>
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.