[SOLVED] How to specify the properties folder to report [message #917992] |
Thu, 20 September 2012 16:23 |
Blaine Mising name Messages: 25 Registered: December 2010 |
Junior Member |
|
|
I saw that properties files can be added to the report. In preview mode it works, but deployin application in tomcat it doesn't read it.
My application starts the viewer in a jps file.
Here is the code:
<birt:viewer id="birtViewer"
pattern="frameset"
reportDesign="${pathReportAttribute}.rptdesign"
format="html"
rtl="${rtl}"
locale="${locale}"
frameborder="No"
scrolling="No"
showParameterPage="true"
>
</birt:viewer>
Is it possible to specify the properties folder when viewer starts? How?
[Updated on: Fri, 21 September 2012 09:29] Report message to a moderator
|
|
|
|
|
Re: How to specify the properties folder to report [message #929222 is a reply to message #928439] |
Mon, 01 October 2012 09:52 |
Blaine Mising name Messages: 25 Registered: December 2010 |
Junior Member |
|
|
Here you are the jsp code:
<birt:viewer id="birtViewer"
pattern="frameset"
reportDesign="${pathReportAttribute}.rptdesign"
resourceFolder="<%=resPath%>"
format="html"
rtl="${rtl}"
locale="${locale}"
frameborder="No"
scrolling="No"
showParameterPage="true">
</birt:viewer>
resPath is the full path but you should take in to account the folder specified in your reports.
For example, if you've configured in your report that resources path is "properties\i18n" folder, and your properties are in "C:\reports\properties\i18n" respPath value should be "C:\reports" and not "C:\reports\properties\i18n".
[Updated on: Mon, 01 October 2012 09:52] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03155 seconds