|
|
@ -5,12 +5,12 @@ import javax.servlet.http.HttpServletRequest; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.form.main.Form; |
|
|
|
import com.fr.form.main.Form; |
|
|
|
import com.fr.form.main.FormIO; |
|
|
|
import com.fr.form.main.FormIO; |
|
|
|
|
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.web.weblet.Formlet; |
|
|
|
import com.fr.web.weblet.Formlet; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class SimpleReportletDemoFrm extends Formlet { |
|
|
|
public class SimpleReportletDemoFrm extends Formlet { |
|
|
|
|
|
|
|
|
|
|
|
@SuppressWarnings("rawtypes") |
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void setParameterMap(Map arg0) { |
|
|
|
public void setParameterMap(Map arg0) { |
|
|
|
// TODO Auto-generated method stub
|
|
|
|
// TODO Auto-generated method stub
|
|
|
@ -26,7 +26,7 @@ public class SimpleReportletDemoFrm extends Formlet { |
|
|
|
try { |
|
|
|
try { |
|
|
|
form = FormIO.readForm(tplPath); |
|
|
|
form = FormIO.readForm(tplPath); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
} |
|
|
|
} |
|
|
|
return form; |
|
|
|
return form; |
|
|
|
} |
|
|
|
} |
|
|
|