//adding original parameter definitions manually
if (dr.isTemplateImportParameters()){
for (Iterator iter = jd.getParametersList().iterator(); iter.hasNext();) {
JRParameter element = (JRParameter) iter.next();
try {
djd.addParameter(element);
} catch (JRException e) {
if (log.isDebugEnabled()){
log.warn(e.getMessage());
}
}