Package org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow

Examples of org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.WindowClosedCallback


      panel.add(AttributeModifier.append("style", "padding: 10px;"));
      modal.setContent(panel);
      modal.setAutoSize(true);
      modal.setResizable(false);
      modal.show(target);
      modal.setWindowClosedCallback(new WindowClosedCallback() {

        private static final long serialVersionUID = 1L;

        @Override
        public void onClose(AjaxRequestTarget target) {
View Full Code Here


          panel.add(AttributeModifier.append("style", "padding: 10px;"));
          modal.setContent(panel);
          modal.setAutoSize(true);
          modal.setResizable(false);
          modal.show(target);
          modal.setWindowClosedCallback(new WindowClosedCallback() {

            private static final long serialVersionUID = 1L;

            @Override
            public void onClose(AjaxRequestTarget target) {
View Full Code Here

      public void onClick(AjaxRequestTarget target) {
        modal.setTitle("Configuration");
        modal.setContent(new PivotConfigStoragePanel(ModalWindow.CONTENT_ID, pivotModel, pivotConfigStorage));
        modal.setAutoSize(true);
        modal.show(target);
        modal.setWindowClosedCallback(new WindowClosedCallback() {
          private static final long serialVersionUID = 1L;

          @Override
          public void onClose(AjaxRequestTarget target) {
            target.add(PivotPanel.this);
View Full Code Here

        setOutputMarkupId(true);
        add(modalWindow = new ModalWindow("imageUploadDialog"));
        modalWindow.setTitle(new ResourceModel("title.label"));
        modalWindow.setInitialHeight(100);
        modalWindow.setInitialWidth(350);
        modalWindow.setWindowClosedCallback(new WindowClosedCallback() {
            public void onClose(AjaxRequestTarget pTarget) {
                resetModalContent();
            }
        });
        add(imageUploadBehavior = new ImageUploadBehavior());
View Full Code Here

    setOutputMarkupId(true);
    add(modalWindow = new ModalWindow("imageUploadDialog"));
    modalWindow.setTitle(new ResourceModel("title.label"));
    modalWindow.setInitialHeight(100);
    modalWindow.setInitialWidth(350);
    modalWindow.setWindowClosedCallback(new WindowClosedCallback() {
      private static final long serialVersionUID = 1L;

      public void onClose(AjaxRequestTarget pTarget) {
        resetModalContent();
      }
View Full Code Here

    setOutputMarkupId(true);
    add(modalWindow = new ModalWindow("imageUploadDialog"));
    modalWindow.setTitle(new ResourceModel("title.label"));
    modalWindow.setInitialHeight(100);
    modalWindow.setInitialWidth(350);
    modalWindow.setWindowClosedCallback(new WindowClosedCallback() {
      private static final long serialVersionUID = 1L;

      public void onClose(AjaxRequestTarget pTarget) {
        resetModalContent();
      }
View Full Code Here

                    }
                };
            }
        });
       
        categorySelector.setWindowClosedCallback(new WindowClosedCallback() {
            private static final long serialVersionUID = 1L;

            @Override
            public void onClose(AjaxRequestTarget target) {
                Category category = (Category) getSession().getAttribute(SESSKEY_CATEGORY);
View Full Code Here

       
        final ModalWindow feedbackWindow = new ModalWindow(CKEY_FEEDBACK_DIALOG);
        feedbackWindow.setInitialWidth(500);//TODO:constant
        feedbackWindow.setInitialHeight(400);//TODO:constant
        feedbackWindow.setTitle(new ResourceModel(MKEY_FEEDBACK_DIALOG_TITLE));
        feedbackWindow.setWindowClosedCallback(new WindowClosedCallback() {
            private static final long serialVersionUID = 1L;

            @Override
            public void onClose(AjaxRequestTarget target) {
               
View Full Code Here

                String workspaceId = ManagePrototypesPanel.this.getModelObject().getId();
                CreatePrototypePanel panel = new CreatePrototypePanel(modalWindow.getContentId(), workspaceId,
                        ManagePrototypesPanel.this.prototypeName);
                modalWindow.setContent(panel);
                modalWindow.setTitle(new ResourceModel("selectItemsToCreate"));
                modalWindow.setWindowClosedCallback(new WindowClosedCallback() {
                    public void onClose(AjaxRequestTarget target) {
                        target.addComponent(ManagePrototypesPanel.this);
                    }
                });
                modalWindow.show(target);
View Full Code Here

TOP

Related Classes of org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.WindowClosedCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.