James Moger
2012-04-11 a9eb6b1105cd47f00ae45dacda9af8e829ade191
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);
   }