Package org.apache.wicket.markup.html.panel

Examples of org.apache.wicket.markup.html.panel.FeedbackPanel


            target.addComponent(editQuestionTitleForm);
          }
        }
      });

      FeedbackPanel f = new FeedbackPanel("feedback", new ContainerFeedbackMessageFilter(this));
      f.setMaxMessages(1);
      add(f);

      DeletePersistedObjectDialog<Question> dialog = new DeletePersistedObjectDialog<Question>("deleteModal", mSelectedQuestion) {
        private static final long serialVersionUID = 1L;
View Full Code Here


    private static final long serialVersionUID = 1L;

    protected ChangePasswordForm(String id, User user) {
      super(id, new HibernateObjectModel<User>(user));
      add(new FeedbackPanel("feedback") {
        private static final long serialVersionUID = 1L;
        @Override
        public boolean isVisible() { return anyMessage(); }
      });
     
View Full Code Here

    // make sure the label is linked to the student dropdown   
    FormComponentLabel studentChoiceLabel = (new FormComponentLabel("studentChoiceLabel", studentChoice));
    periodStudentSelectForm.add(studentChoiceLabel);
      periodStudentSelectForm.add(studentChoice);
   
      feedback = new FeedbackPanel("feedback", new ContainerFeedbackMessageFilter(periodStudentSelectForm));
      feedback.setOutputMarkupId(true);
      feedback.setMaxMessages(1);
      periodStudentSelectForm.add(feedback);
      add(periodStudentSelectForm);
   
View Full Code Here

          super.onError(target, form);
          if (target != null)
            target.addComponent(feedback);
       
      });
      add(feedback = new FeedbackPanel("feedback", new ContainerFeedbackMessageFilter(NewQuestionForm.this)));
      feedback.setOutputMarkupPlaceholderTag(true);
    }
View Full Code Here

            param.add("word", newWord);
          }
          this.setResponsePage(ISIApplication.get().getGlossaryPageClass(), param);
        }
      });                 
      add(feedback = new FeedbackPanel("feedback", new ContainerFeedbackMessageFilter(NewWordForm.this)));
      feedback.setOutputMarkupPlaceholderTag(true);
    }
View Full Code Here

      public boolean isVisible() {
        return (!success);
      }     
    });
   
    add (new FeedbackPanel("feedback") {
      private static final long serialVersionUID = 1L;
      @Override
      public boolean isVisible() { return anyMessage(); }
    });
    add (new EmailForm("form"));
View Full Code Here

    }

    private void pageSetup() {
        ((SyncopeApplication) getApplication()).setupNavigationPanel(this, xmlRolesReader, true, version);

        feedbackPanel = new FeedbackPanel("feedback");
        feedbackPanel.setOutputMarkupId(true);
        add(feedbackPanel);

        final String kind = getClass().getSimpleName().toLowerCase();
        final BookmarkablePageLink kindLink = (BookmarkablePageLink) get(kind);
View Full Code Here

        submitButton.setDefaultFormProcessing(false);
        form.add(submitButton);

        add(form);
        add(new FeedbackPanel("feedback"));

        // Modal window for self registration
        final ModalWindow editProfileModalWin = new ModalWindow("selfRegModal");
        editProfileModalWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
        editProfileModalWin.setInitialHeight(SELF_REG_WIN_HEIGHT);
View Full Code Here

        setOutputMarkupId(true);

        final WebMarkupContainer searchFormContainer = new WebMarkupContainer("searchFormContainer");
        searchFormContainer.setOutputMarkupId(true);

        searchFeedback = new FeedbackPanel("searchFeedback", new IFeedbackMessageFilter() {

            private static final long serialVersionUID = 6895024863321391672L;

            @Override
            public boolean accept(final FeedbackMessage message) {
View Full Code Here

    super(id);

    this.includeRememberMe = includeRememberMe;

    // Create feedback panel and add to page
    add(new FeedbackPanel("feedback"));

    // Add sign-in form to page, passing feedback panel as
    // validation error handler
    add(new SignInForm(SIGN_IN_FORM));
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.markup.html.panel.FeedbackPanel

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.