Example usage for org.apache.wicket.feedback FeedbackMessagesModel FeedbackMessagesModel

List of usage examples for org.apache.wicket.feedback FeedbackMessagesModel FeedbackMessagesModel

Introduction

In this page you can find the example usage for org.apache.wicket.feedback FeedbackMessagesModel FeedbackMessagesModel.

Prototype

public FeedbackMessagesModel(Component pageResolvingComponent) 

Source Link

Document

Constructor.

Usage

From source file:$.BootstrapFeedbackPanel.java

License:Apache License

/**
     * Gets a new instance of FeedbackMessagesModel to use.
     * //  w w  w.jav a2  s . c  o  m
     * @return Instance of FeedbackMessagesModel to use
     */
    protected FeedbackMessagesModel newFeedbackMessagesModel() {
        return new FeedbackMessagesModel(this);
    }

From source file:com.aipo.mobycket.wicket.markup.html.panel.CssFeedbackPanel.java

License:Apache License

/**
 * Gets a new instance of FeedbackMessagesModel to use.
 * //  w  ww  .j a  va  2s.c  o  m
 * @return Instance of FeedbackMessagesModel to use
 */
protected FeedbackMessagesModel newFeedbackMessagesModel() {
    return new FeedbackMessagesModel(this);
}

From source file:com.evolveum.midpoint.web.component.message.FeedbackListView.java

License:Apache License

public FeedbackListView(String id, Component component, boolean isTempPanel) {
    super(id);//from   w  ww .  ja v  a 2 s. co  m
    setDefaultModel(new FeedbackMessagesModel(component));
    this.isTempPanel = isTempPanel;
}

From source file:com.evolveum.midpoint.web.component.message2.FeedbackListView.java

License:Apache License

public FeedbackListView(String id, Component component) {
    super(id);
    setDefaultModel(new FeedbackMessagesModel(component));
}

From source file:com.googlecode.wicket.kendo.ui.panel.KendoFeedbackPanel.java

License:Apache License

/**
 * Gets a new instance of the FeedbackMessagesModel to use.
 * /*www.j  a  va  2  s.com*/
 * @param filter the {@link IFeedbackMessageFilter}
 * @return a new {@code FeedbackMessagesModel}
 */
protected FeedbackMessagesModel newFeedbackMessagesModel(IFeedbackMessageFilter filter) {
    return new FeedbackMessagesModel(this).setFilter(filter);
}

From source file:eu.uqasar.web.components.StyledFeedbackPanel.java

License:Apache License

/**
 * Gets a new instance of FeedbackMessagesModel to use.
 * // ww  w.j ava2 s  .c  o m
 * @return Instance of FeedbackMessagesModel to use
 */
private FeedbackMessagesModel newFeedbackMessagesModel() {
    return new FeedbackMessagesModel(this);
}

From source file:fiftyfive.wicket.feedback.FeedbackStyle.java

License:Apache License

protected FeedbackMessagesModel newFeedbackMessagesModel(Component c) {
    FeedbackMessagesModel model = new FeedbackMessagesModel(c);
    if (c instanceof MarkupContainer) {
        model.setFilter(new ContainerFeedbackMessageFilter((MarkupContainer) c));
    } else {//from   www .j  av  a2  s. c  o  m
        model.setFilter(new ComponentFeedbackMessageFilter(c));
    }
    return model;
}

From source file:guru.mmp.application.web.template.components.Alerts.java

License:Apache License

/**
 * @param id the non-null id of this component
 *
 * @see org.apache.wicket.Component#Component(String)
 *///from   w  ww . j  av a  2  s .c o m
public Alerts(String id) {
    super(id);

    setOutputMarkupId(true);

    setDefaultModel(new FeedbackMessagesModel(this));
}

From source file:guru.mmp.application.web.template.components.Alerts.java

License:Apache License

/**
 * @param id         the non-null id of this component
 * @param reporterId the ID of the reporter to display alerts for
 *
 * @see org.apache.wicket.Component#Component(String)
 *///w  w w . j a v  a 2 s . com
public Alerts(String id, String reporterId) {
    super(id);

    this.reporterId = reporterId;

    setOutputMarkupId(true);

    setDefaultModel(new FeedbackMessagesModel(this));
}

From source file:guru.mmp.application.web.template.components.FeedbackList.java

License:Apache License

/**
 * @param id the non-null id of this component
 *
 * @see org.apache.wicket.Component#Component(String)
 *//*from w ww. j a v  a 2  s  . c om*/
public FeedbackList(String id) {
    super(id);

    setOutputMarkupId(true);

    setDefaultModel(new FeedbackMessagesModel(this));
}