edgar 2017-01-06 18:39:06 +00:00
parent fd433e78fb
commit be4604d982
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ public class RenderRelatorioJasper {
ResourceBundle resource = ResourceBundle.getBundle("com.rjconsultores.ventaboletos.relatorios.internacionalizacao." + this.relatorio.getNome(), locale);
this.relatorio.getParametros().put(JRParameter.REPORT_RESOURCE_BUNDLE, resource);
this.relatorio.getParametros().put("BASE_DIR", getClass().getResource(this.relatorio.getBaseDir()).getPath());
log.info("Base dir="+relatorio.getParametros().get("BASE_DIR"));
/* Adicionar o arquivo de internacionalização para o subreporte quando informado */
if(this.relatorio.getNomeSubReporte() != null && this.relatorio.getNomeSubReporte().length > 0) {