Ejemplo n.º 1
0
 public String getLayoutUrl(long id, RequestCycle rc) {
   HttpServletRequest req = ((WebRequest) rc.getRequest()).getHttpServletRequest();
   return req.getContextPath() + "/" + BricketApplication.LAYOUT_IMAGE_PATH + "/" + id;
 }
Ejemplo n.º 2
0
 public String getThumbnailUrl(long id, RequestCycle rc) {
   HttpServletRequest req = ((WebRequest) rc.getRequest()).getHttpServletRequest();
   return req.getContextPath() + "/" + BricketApplication.THUMBNAIL_IMAGE_PATH + "/" + id;
 }