Package org.apache.wicket.feedback

Examples of org.apache.wicket.feedback.ComponentFeedbackMessageFilter


    protected abstract MarkupContainer addComponentForRegular();

    protected abstract Component addComponentForCompact();

    protected void addFeedbackTo(MarkupContainer markupContainer, Component component) {
        markupContainer.addOrReplace(new NotificationPanel(ID_FEEDBACK, component, new ComponentFeedbackMessageFilter(component)));
    }
View Full Code Here


    }

    private void buildGui() {
        collectionContents = getComponentFactoryRegistry().addOrReplaceComponent(this, ComponentType.COLLECTION_CONTENTS, getModel());

        addOrReplace(new NotificationPanel(ID_FEEDBACK, collectionContents, new ComponentFeedbackMessageFilter(collectionContents)));
    }
View Full Code Here

                }

            };
            final Image image = new Image(ID_SCALAR_VALUE, imageResource);
            addOrReplace(image);
            addOrReplace(new NotificationPanel(ID_FEEDBACK, image, new ComponentFeedbackMessageFilter(image)));
        } else {
            permanentlyHide(ID_SCALAR_VALUE, ID_FEEDBACK);
        }
    }
View Full Code Here

        requestRepaintPanel(target);
    }

    private void addFeedbackGui(final MarkupContainer markupContainer) {
        feedback = new NotificationPanel(ID_FEEDBACK, this, new ComponentFeedbackMessageFilter(this));
        feedback.setOutputMarkupPlaceholderTag(true);
        markupContainer.addOrReplace(feedback);

        // to avoid potential XSS attacks, no longer escape model strings
        // (risk is low but could just happen: error message being rendered might accidentally or deliberately contain rogue Javascript)
View Full Code Here

   * @param component
   *            The component to watch for messages
   */
  public void setIndicatorFor(final Component component)
  {
    filter = new ComponentFeedbackMessageFilter(component);
  }
View Full Code Here

   * @param component
   *            The component to watch for messages
   */
  public void setIndicatorFor(final Component component)
  {
    filter = new ComponentFeedbackMessageFilter(component);
  }
View Full Code Here

   * @param filter
   *     the component for which the messages need to be filtered.
   */
  public ComponentFeedbackPanel(String id, Component filter)
  {
    super(id, new ComponentFeedbackMessageFilter(filter));
  }
View Full Code Here

   * @param component
   *            The component to watch for messages
   */
  public void setIndicatorFor(final Component component)
  {
    filter = new ComponentFeedbackMessageFilter(component);
  }
View Full Code Here

   * @param component
   *            The component to watch for messages
   */
  public void setIndicatorFor(final Component component)
  {
    filter = new ComponentFeedbackMessageFilter(component);
  }
View Full Code Here

   * @param component
   *            The component to watch for messages
   */
  public void setIndicatorFor(final Component component)
  {
    filter = new ComponentFeedbackMessageFilter(component);
  }
View Full Code Here

TOP

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

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.