Package org.apache.wicket.behavior

Examples of org.apache.wicket.behavior.CssHeaderContributor


    // Add the simplest type of label
    add(new Label("message",
      "If you see this message wicket is properly configured and running"));

    add(new CssHeaderContributor(HomePage_2.class, "main.css"));
  }
View Full Code Here


   * Creates a new instance of MyPage
   */
  public MyPage2()
  {
    // And it is not problem if historically it has been added. Wicket will render it just once
    add(new CssHeaderContributor(this.getClass(), this.getClass().getSimpleName() + ".css"));
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.behavior.CssHeaderContributor

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.