Example usage for org.apache.wicket.markup.html.basic Label setVersioned

List of usage examples for org.apache.wicket.markup.html.basic Label setVersioned

Introduction

In this page you can find the example usage for org.apache.wicket.markup.html.basic Label setVersioned.

Prototype

public Component setVersioned(boolean versioned) 

Source Link

Usage

From source file:org.artifactory.common.wicket.component.panel.feedback.FeedbackDistributer.java

License:Open Source License

public FeedbackDistributer(String id) {
    super(id);//  w  w  w  . j a  v  a  2  s  .  c o  m

    setDefaultModel(newFeedbackMessagesModel());
    setOutputMarkupId(true);

    add(ResourcePackage.forJavaScript(FeedbackDistributer.class));

    Label script = new Label("script", new ScriptModel());
    script.setEscapeModelStrings(false);
    script.setVersioned(false);
    add(script);
}