Package org.apache.wicket.feedback

Examples of org.apache.wicket.feedback.ContainerFeedbackMessageFilter


      {
         label += ":";
      }
      Label labelComponent = new Label("label", label);
      add(labelComponent);
      feedbackPanel = new FeedbackPanel("message", new ContainerFeedbackMessageFilter(this));
      add(component, model, modelClass, propertyExpression);
      add(feedbackPanel);
   }
View Full Code Here


      Template body = new Template("body");
      add(body);
      hotelSearchForm = new HotelSearchForm("searchCriteria");
      body.add(hotelSearchForm);
     
      messages = new FeedbackPanel("messages", new ContainerFeedbackMessageFilter(this)).setOutputMarkupId(true);
      body.add(messages);
     
      /*
       * Hotel Search results
       */
 
View Full Code Here

   *
   * @return A new feedback panel
   */
  protected Component newFeedbackPanel(final String id)
  {
    return new FeedbackPanel(id, new ContainerFeedbackMessageFilter(this));
  }
View Full Code Here

   *
   * @return A new feedback panel
   */
  protected Component newFeedbackPanel(final String id)
  {
    return new FeedbackPanel(id, new ContainerFeedbackMessageFilter(this));
  }
View Full Code Here

   *
   * @return A new feedback panel
   */
  protected Component newFeedbackPanel(final String id)
  {
    return new FeedbackPanel(id, new ContainerFeedbackMessageFilter(this));
  }
View Full Code Here

  /**
   * @return Let subclass specify some other filter
   */
  protected IFeedbackMessageFilter getMessagesFilter()
  {
    return new ContainerFeedbackMessageFilter(this);
  }
View Full Code Here

        }
      }));
      add(new Label("currentPeriod", new PropertyModel<String>(ISISession.get().getCurrentPeriodModel(), "name")));
      periodChoiceMove = new PeriodChoice("newPeriod", ISISession.get().getCurrentPeriodModel());
      add(periodChoiceMove);
      FeedbackPanel f = new FeedbackPanel("feedback", new ContainerFeedbackMessageFilter(this));
      add(f);
     
      AjaxSubmitLink moveLink = new AjaxSubmitLink("moveLink"){
        private static final long serialVersionUID = 1L;
View Full Code Here

        protected void onError(AjaxRequestTarget target, Form<?> form) {
          target.addComponent(editPeriodForm);
        }
      });
     
      FeedbackPanel f = new FeedbackPanel("feedback", new ContainerFeedbackMessageFilter(this));
      f.setMaxMessages(1);
      add(f);
    }
View Full Code Here

            target.addComponent(ClassMessageContainer.this);
          }
        }
      });
     
      classMessageForm.add(classMessageFeedback = new FeedbackPanel("feedback", new ContainerFeedbackMessageFilter(classMessageForm)));
      classMessageFeedback.setOutputMarkupPlaceholderTag(true);
    }
View Full Code Here

      periodName.add(new UniqueDataFieldValidator<String>(Period.class, "name").limitScope("site", ISISession.get().getCurrentSiteModel()));
      periodName.add(new SimpleAttributeModifier("maxlength", "32"));
      periodName.setRequired(true);
      periodName.setOutputMarkupId(true);

      final FeedbackPanel feedback = new FeedbackPanel("feedback", new ContainerFeedbackMessageFilter(this));
      feedback.setMaxMessages(1);
      feedback.setOutputMarkupId(true);
      add(feedback);
     
      add(new AjaxFallbackLink<Object>("cancel") {
View Full Code Here

TOP

Related Classes of org.apache.wicket.feedback.ContainerFeedbackMessageFilter

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.