/** @return */
 public static ContextImage getInvisibleDummyImage(
     final String id, final RequestCycle requestCylce) {
   final ContextImage image =
       new ContextImage(id, WicketUtils.getImageUrl(requestCylce, WebConstants.IMAGE_SPACER));
   image.setVisible(false);
   return image;
 }
Exemplo n.º 2
0
 private ContextImage createContextImage(String id, String image) {
   ContextImage commentIcon = new ContextImage(id, new Model(image));
   commentIcon.setMarkupId(id);
   commentIcon.setOutputMarkupId(true);
   return commentIcon;
 }