James Moger
2012-03-17 e28b2f68fc38e4976a0e8bc11af45834bbde940c
src/com/gitblit/wicket/WicketUtils.java
@@ -220,6 +220,19 @@
      return img;
   }
   public static Label newIcon(String wicketId, String css) {
      Label lbl = new Label(wicketId);
      setCssClass(lbl, css);
      return lbl;
   }
   public static Label newBlankIcon(String wicketId) {
      Label lbl = new Label(wicketId);
      setCssClass(lbl, "");
      lbl.setRenderBodyOnly(true);
      return lbl;
   }
   public static ContextRelativeResource getResource(String file) {
      return new ContextRelativeResource(file);
   }