issue #8301 - Base dir
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@64687 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
fd433e78fb
commit
be4604d982
|
@ -62,6 +62,7 @@ public class RenderRelatorioJasper {
|
||||||
ResourceBundle resource = ResourceBundle.getBundle("com.rjconsultores.ventaboletos.relatorios.internacionalizacao." + this.relatorio.getNome(), locale);
|
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(JRParameter.REPORT_RESOURCE_BUNDLE, resource);
|
||||||
this.relatorio.getParametros().put("BASE_DIR", getClass().getResource(this.relatorio.getBaseDir()).getPath());
|
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 */
|
/* Adicionar o arquivo de internacionalização para o subreporte quando informado */
|
||||||
if(this.relatorio.getNomeSubReporte() != null && this.relatorio.getNomeSubReporte().length > 0) {
|
if(this.relatorio.getNomeSubReporte() != null && this.relatorio.getNomeSubReporte().length > 0) {
|
||||||
|
|
Loading…
Reference in New Issue