java.lang.Object
org.apache.wicket.Component
org.apache.wicket.MarkupContainer
org.apache.wicket.markup.html.WebMarkupContainer
org.apache.wicket.markup.html.panel.Panel
org.apache.wicket.markup.html.panel.GenericPanel<T>
de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal<T>
org.apache.syncope.client.console.wicket.markup.html.bootstrap.dialog.BaseModal<T>
All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IGenericComponent<T,GenericPanel<T>>, IMetadataContext<Serializable,Component>, IQueueRegion, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable

public class BaseModal<T extends Serializable> extends de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal<T>
See Also:
  • Field Details

  • Constructor Details

    • BaseModal

      public BaseModal(String id)
  • Method Details

    • getForm

      public Form<T> getForm()
    • setFormModel

      public BaseModal<T> setFormModel(T modelObject)
    • setFormModel

      public BaseModal<T> setFormModel(IModel<T> model)
    • setFormAsMultipart

      public BaseModal<T> setFormAsMultipart(boolean multipart)
    • getFormModel

      public T getFormModel()
    • getContent

      public ModalPanel getContent()
    • setContent

      public BaseModal<T> setContent(ModalPanel component)
    • setContent

      public BaseModal<T> setContent(ModalPanel component, AjaxRequestTarget target)
    • changeCloseButtonLabel

      public BaseModal<T> changeCloseButtonLabel(String label)
    • changeCloseButtonLabel

      public BaseModal<T> changeCloseButtonLabel(String label, AjaxRequestTarget target)
    • setWindowClosedCallback

      public BaseModal<T> setWindowClosedCallback(BaseModal.WindowClosedCallback callback)
    • onClose

      protected void onClose(IPartialPageRequestHandler target)
      Overrides:
      onClose in class de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal<T extends Serializable>
    • addSubmitButton

      public AjaxSubmitLink addSubmitButton()
    • removeSubmitButton

      public void removeSubmitButton()
    • onInitialize

      protected void onInitialize()
      Overrides:
      onInitialize in class de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal<T extends Serializable>
    • onEvent

      public void onEvent(IEvent<?> event)
      Specified by:
      onEvent in interface IEventSink
      Overrides:
      onEvent in class Component
    • useCloseHandler

      public final de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal<T> useCloseHandler(boolean useCloseHandler)
      Sets whether the close handler is used or not. Default is false.
      Parameters:
      useCloseHandler - True if close handler should be used
      Returns:
      This
    • renderHead

      public void renderHead(IHeaderResponse response)
      Specified by:
      renderHead in interface IHeaderContributor
      Overrides:
      renderHead in class de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal<T extends Serializable>
    • createBasicInitializerScript

      protected String createBasicInitializerScript(String markupId)
      Overrides:
      createBasicInitializerScript in class de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal<T extends Serializable>