Class WizardMgtPanel<T extends Serializable>

  • All Implemented Interfaces:
    Serializable, Iterable<org.apache.wicket.Component>, org.apache.wicket.event.IEventSink, org.apache.wicket.event.IEventSource, org.apache.wicket.feedback.IFeedbackContributor, org.apache.wicket.IConverterLocator, org.apache.wicket.IMetadataContext<Serializable,​org.apache.wicket.Component>, org.apache.wicket.IQueueRegion, org.apache.wicket.markup.html.IHeaderContributor, org.apache.wicket.request.component.IRequestableComponent, org.apache.wicket.util.IHierarchical<org.apache.wicket.Component>, org.apache.wicket.util.io.IClusterable
    Direct Known Subclasses:
    DirectoryPanel, JobActionPanel, ListViewPanel, Realm, TogglePanel

    public abstract class WizardMgtPanel<T extends Serializable>
    extends AbstractWizardMgtPanel<T>
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.wicket.MarkupContainer addInnerObject​(org.apache.wicket.Component... childs)
      Add object inside the main container.
      protected <B extends ModalPanelBuilder<T>>
      WizardMgtPanel<T>
      addNewItemPanelBuilder​(B panelBuilder, boolean newItemDefaultButtonEnabled)  
      protected WizardMgtPanel<T> addNotificationPanel​(NotificationPanel notificationPanel)  
      org.apache.wicket.MarkupContainer addOrReplaceInnerObject​(org.apache.wicket.Component... childs)
      Add or replace object inside the main container.
      WizardMgtPanel<T> addOuterObject​(org.apache.wicket.Component... childs)
      Add object outside the main container.
      protected void customActionCallback​(org.apache.wicket.ajax.AjaxRequestTarget target)
      Custom action to perform on create/edit action callback.
      protected void customActionOnCancelCallback​(org.apache.wicket.ajax.AjaxRequestTarget target)
      Custom action to perform on close callback on cancel event.
      protected void customActionOnFinishCallback​(org.apache.wicket.ajax.AjaxRequestTarget target)
      Custom action to perform on close callback on finish event.
      protected org.apache.wicket.markup.html.panel.Panel customResultBody​(String panelId, T item, Serializable result)  
      protected WizardMgtPanel<T> disableContainerAutoRefresh()  
      protected WizardMgtPanel<T> enableUtilityButton()
      Show utility button sending ExitEvent payload by default.
      String getActualId()  
      boolean isReadOnly()  
      void onEvent​(org.apache.wicket.event.IEvent<?> event)  
      WizardMgtPanel<T> setFooterVisibility​(boolean footerVisibility)  
      <B extends ModalPanelBuilder<T>>
      WizardMgtPanel<T>
      setPageRef​(org.apache.wicket.PageReference pageRef)  
      void setReadOnly​(boolean readOnly)  
      <B extends ModalPanelBuilder<T>>
      WizardMgtPanel<T>
      setShowResultPanel​(boolean showResultPanel)  
      protected void setWindowClosedReloadCallback​(BaseModal<?> modal)
      Set window close callback for the given modal.
      • Methods inherited from class org.apache.wicket.markup.html.panel.Panel

        getRegionMarkup, newMarkupSourcingStrategy
      • Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer

        getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSession
      • Methods inherited from class org.apache.wicket.MarkupContainer

        add, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findChildComponent, findComponentToDequeue, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onComponentTagBody, onDetach, onInitialize, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, stream, streamChildren, toString, toString, visitChildren, visitChildren
      • Methods inherited from class org.apache.wicket.Component

        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, getMarkupTag, 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, onComponentTag, onConfigure, onModelChanged, onModelChanging, onReAdd, onRemove, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, 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
      • Methods inherited from interface org.apache.wicket.event.IEventSource

        send
      • Methods inherited from interface org.apache.wicket.IQueueRegion

        dequeue, newDequeueContext
    • Field Detail

      • initialFragment

        protected final org.apache.wicket.markup.html.panel.Fragment initialFragment
      • wizardInModal

        protected final boolean wizardInModal
      • pageRef

        protected org.apache.wicket.PageReference pageRef
      • addAjaxLink

        protected final org.apache.wicket.ajax.markup.html.AjaxLink<?> addAjaxLink
      • utilityIcon

        protected org.apache.wicket.markup.html.basic.Label utilityIcon
      • utilityAjaxLink

        protected org.apache.wicket.ajax.markup.html.AjaxLink<?> utilityAjaxLink
      • footerVisibility

        protected boolean footerVisibility
      • showResultPanel

        protected boolean showResultPanel
    • Constructor Detail

      • WizardMgtPanel

        protected WizardMgtPanel​(String id)
      • WizardMgtPanel

        protected WizardMgtPanel​(String id,
                                 boolean wizardInModal)
    • Method Detail

      • getActualId

        public String getActualId()
      • onEvent

        public void onEvent​(org.apache.wicket.event.IEvent<?> event)
        Specified by:
        onEvent in interface org.apache.wicket.event.IEventSink
        Overrides:
        onEvent in class org.apache.wicket.Component
      • disableContainerAutoRefresh

        protected final WizardMgtPanel<T> disableContainerAutoRefresh()
      • customResultBody

        protected org.apache.wicket.markup.html.panel.Panel customResultBody​(String panelId,
                                                                             T item,
                                                                             Serializable result)
      • enableUtilityButton

        protected final WizardMgtPanel<T> enableUtilityButton()
        Show utility button sending ExitEvent payload by default.
        Returns:
        the current instance.
      • addInnerObject

        public org.apache.wicket.MarkupContainer addInnerObject​(org.apache.wicket.Component... childs)
        Add object inside the main container.
        Parameters:
        childs - components to be added.
        Returns:
        the current panel instance.
      • addOrReplaceInnerObject

        public org.apache.wicket.MarkupContainer addOrReplaceInnerObject​(org.apache.wicket.Component... childs)
        Add or replace object inside the main container.
        Parameters:
        childs - components to be added.
        Returns:
        the current panel instance.
      • addOuterObject

        public final WizardMgtPanel<T> addOuterObject​(org.apache.wicket.Component... childs)
        Add object outside the main container. Use this method just to be not influenced by specific inner object css'. Be sure to provide outer as id.
        Parameters:
        childs - components to be added.
        Returns:
        the current panel instance.
      • addNewItemPanelBuilder

        protected <B extends ModalPanelBuilder<T>> WizardMgtPanel<T> addNewItemPanelBuilder​(B panelBuilder,
                                                                                            boolean newItemDefaultButtonEnabled)
      • setFooterVisibility

        public WizardMgtPanel<T> setFooterVisibility​(boolean footerVisibility)
      • setWindowClosedReloadCallback

        protected void setWindowClosedReloadCallback​(BaseModal<?> modal)
        Set window close callback for the given modal.
        Parameters:
        modal - target modal.
      • customActionCallback

        protected void customActionCallback​(org.apache.wicket.ajax.AjaxRequestTarget target)
        Custom action to perform on create/edit action callback.
        Parameters:
        target - Ajax request target.
      • customActionOnFinishCallback

        protected void customActionOnFinishCallback​(org.apache.wicket.ajax.AjaxRequestTarget target)
        Custom action to perform on close callback on finish event.
        Parameters:
        target - Ajax request target.
      • customActionOnCancelCallback

        protected void customActionOnCancelCallback​(org.apache.wicket.ajax.AjaxRequestTarget target)
        Custom action to perform on close callback on cancel event.
        Parameters:
        target - Ajax request target.
      • isReadOnly

        public boolean isReadOnly()
      • setReadOnly

        public void setReadOnly​(boolean readOnly)