/** @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; }
private ContextImage createContextImage(String id, String image) { ContextImage commentIcon = new ContextImage(id, new Model(image)); commentIcon.setMarkupId(id); commentIcon.setOutputMarkupId(true); return commentIcon; }