Пример #1
0
 private void printModImage() throws JspException {
   ImgTag img = new ImgTag();
   img.init(this);
   img.setId(name + "_mod");
   img.setSrc(stylePath + "notmodified.gif");
   img.setTitle(globalSzotar.getValue("BS_NEM_VOLT_MODOSITVA"));
   img.setStyleClass("icon");
   new DynamicTag(img).eval();
 }
Пример #2
0
 private void printResetImage() throws JspException {
   ImgTag img = new ImgTag();
   img.init(this);
   img.setSrc(stylePath + "reload.gif");
   img.setStyleClass("icon commandIcon");
   img.setTitle(globalSzotar.getValue("BS_UJRA"));
   img.setOnclick(
       "doResetForm('" + name + "','" + globalSzotar.getValue("BS_NEM_VOLT_MODOSITVA") + "');");
   new DynamicTag(img).eval();
 }