Hi to all,
We have just released version 3.2.0 of the plugin.
Please refer to the corresponding ServoyForge Wiki page Servoy JasperReports Plugin v320 - Release Notes - Servoy JasperReports Plugin - ServoyForge for details.
Best regards,
Andrei
Hi to all,
We have just released version 3.2.0 of the plugin.
Please refer to the corresponding ServoyForge Wiki page Servoy JasperReports Plugin v320 - Release Notes - Servoy JasperReports Plugin - ServoyForge for details.
Best regards,
Andrei
Great Job !!
Good news! Thank you, Andrei, for all your efforts on this project!
Hi Andre
Well done, thanks for the new release.
Is the plugin compatible with the latest version of ireports, 4.02?
Hi Andre,
thanks a lot for your work - tried it out immediately and the bean for showing a jasper report inside a form was working out of the box and looks quite nice.
Unfortunately I run into a problem when using the jrbean together with a TabPanel based navigation (like the crm sample).
I tried to find the error and somehow it looks like the following line is not working anymore:
forms.frmMain.elements.tabMainView.tabIndex = index;
The idea of this line is to set the tab which is show in the main form. Before using the new jrbean it worked perfectly. Also when loading a solution which includes the bean switching tabs works fine. But after first time showing a tab containing the jrbean it is not working anymore …
Any idea on this weird behavior ?
Best regards
Schoby
Hi,
Installed it on my laptop and runs fine in developer and server.
Installed it on my testserver and I get the folowing error when starting my solution in Servoy Server
JNLPException[category: Launch File Error : Exception: null : LaunchDesc:
<jnlp spec="1.0+" codebase="http://localhost:8080/" href="http://localhost:8080/servoy-client/plugins/servoy_jasperreports.jar.jnlp">
<information>
<title>Servoy Client Plugins</title>
<vendor>Servoy and Others</vendor>
<homepage href="null"/>
</information>
<security>
<all-permissions/>
</security>
<update check="timeout" policy="always"/>
<resources>
<jar href="http://localhost:8080/plugins/servoy_jasperreports.jar" version="1303221390000" download="eager" main="false"/>
<jar href="http://localhost:8080/lib/commons-collections.jar" version="1270212958189" part="commons-collections" download="eager" main="false"/>
<package name="org.apache.commons.collections." part="commons-collections" recursive="true"/>
<jar href="http://localhost:8080/lib/commons-logging.jar" version="1270212963305" part="commons-logging" download="eager" main="false"/>
<package name="org.apache.commons.logging." part="commons-logging" recursive="true"/>
<jar href="http://localhost:8080/lib/commons-dbcp.jar" version="1295355322301" part="commons-dbcp" download="eager" main="false"/>
<package name="org.apache.commons.dbcp." part="commons-dbcp" recursive="true"/>
<package name="org.apache.commons.jocl." part="commons-dbcp" recursive="true"/>
<jar href="http://localhost:8080/plugins/servoy_jasperreports/jasperreports-4.0.0.jar" version="1303221408000" download="eager" main="false"/>
<jar href="http://localhost:8080/plugins/servoy_jasperreports/commons-beanutils-1.8.0.jar" version="1303221402000" part="commons-beanutils" download="eager" main="false"/>
<package name="org.apache.commons.beanutils." part="commons-beanutils" recursive="true"/>
<jar href="http://localhost:8080/plugins/servoy_jasperreports/commons-digester-1.7.jar" version="1303221404000" part="commons-digester" download="eager" main="false"/>
<package name="org.apache.commons.digester." part="commons-digester" recursive="true"/>
<jar href="http://localhost:8080/plugins/servoy_jasperreports/iText-2.1.7.jar" version="1303221406000" part="itext" download="eager" main="false"/>
<package name="com.lowagie." part="itext" recursive="true"/>
<jar href="http://localhost:8080/plugins/servoy_jasperreports/jdt-compiler-3.1.1.jar" version="1303221410000" part="jdt-compiler" download="eager" main="false"/>
<package name="org.eclipse.jdt." part="jdt-compiler" recursive="true"/>
<jar href="http://localhost:8080/plugins/servoy_jasperreports/poi-3.6.jar" version="1303221412000" part="poi" download="eager" main="false"/>
<package name="org.apache.poi." part="poi" recursive="true"/>
</resources>
<component-desc/>
</jnlp> ]
at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
at com.sun.javaws.Launcher.prepareResources(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
When I run signtester everything is verified.
My laptop runs servoy 5.2.7 and the testserver runs 5.2.4
What could be the issue here ?
This new plugin is signed with a new certificate just like servoy 5.2.5 or 5.2.6.
So this plugin will not mix with 5.2.4 and lower. If you want that then you need to resign everything with your own certificate
rodneysieb:
Hi AndreWell done, thanks for the new release.
Is the plugin compatible with the latest version of ireports, 4.02?
Rodney, we would advise you use the version of iReport, corresponding to the version of JasperReports that the plugin was build against, i.e. JasperReports 4.0.0 here. This is to make sure you don’t run into library clash issues.
Regards,
Andrei
schoby:
Hi Andre,thanks a lot for your work - tried it out immediately and the bean for showing a jasper report inside a form was working out of the box and looks quite nice.
Unfortunately I run into a problem when using the jrbean together with a TabPanel based navigation (like the crm sample).
I tried to find the error and somehow it looks like the following line is not working anymore:forms.frmMain.elements.tabMainView.tabIndex = index;
The idea of this line is to set the tab which is show in the main form. Before using the new jrbean it worked perfectly. Also when loading a solution which includes the bean switching tabs works fine. But after first time showing a tab containing the jrbean it is not working anymore …
Any idea on this weird behavior ?
Best regards
Schoby
Hi Schoby,
Have you changed anything in your code after/before you added the jrbean?
Also, do the logs report anything, any errors/exceptions?
Regards,
Andrei
Andrei Costache:
schoby:
Hi Andre,thanks a lot for your work - tried it out immediately and the bean for showing a jasper report inside a form was working out of the box and looks quite nice.
Unfortunately I run into a problem when using the jrbean together with a TabPanel based navigation (like the crm sample).
I tried to find the error and somehow it looks like the following line is not working anymore:forms.frmMain.elements.tabMainView.tabIndex = index;
The idea of this line is to set the tab which is show in the main form. Before using the new jrbean it worked perfectly. Also when loading a solution which includes the bean switching tabs works fine. But after first time showing a tab containing the jrbean it is not working anymore …
Any idea on this weird behavior ?
Best regards
Schoby
Hi Schoby,
Have you changed anything in your code after/before you added the jrbean?
Also, do the logs report anything, any errors/exceptions?Regards,
Andrei
There was a problem regarding the way the bean handled/validated data, that’s why switching between tabs did not happen.
It is fixed now and a new (fixed) bean jar is on the ServoyForge plugin site (Files - Servoy JasperReports Plugin - ServoyForge).
Regards,
Andrei
Hi Andrei,
I’m ttying with Servoy 6b1 and as soon as the form containing the bean is shown I can not go to any other and that happens without printing the report.
After printing the report it is not shown. The only way i got it in the screen is clicking a button that shows a modal form to search records. Of course the not going to another form behaviour is still there.
Any clue?
Thanks
I did download the new bean version you uploaded this morning
thanks a lot for your work - tried it out immediately and the bean for showing a jasper report inside a form was working out of the box and looks quite nice.
Where are the instructions on how to use the JasperReport bean viewer? I couldn’t find anything on this forum or on ServoyForge.
Thanks!
kwpsd:
thanks a lot for your work - tried it out immediately and the bean for showing a jasper report inside a form was working out of the box and looks quite nice.
Where are the instructions on how to use the JasperReport bean viewer? I couldn’t find anything on this forum or on ServoyForge.
Thanks!
For now they are contained in the release notes.
Regards,
Andrei
Thanks, Andrei…I found it!
JasperReport Preview Bean v3.2.0
I started out using the JasperReport output format specifier ‘OUTPUT_FORMAT.VIEW’ that pops up a print preview window:
plugins.jasperPluginRMI.runReport( fs, reportName, null, OUTPUT_FORMAT.VIEW, reportArguments )
It works as expected for all my reports.
Then, I decided to use the JasperReport bean on a generic print preview form (a simple form containing the bean and a button that is displayed in a tabpanel):
elements.bean_jasper_preview.showReport( fs, reportName, reportArguments )
The first report displayed in the bean is displayed as expected, however, subsequent reports are not being displayed, and the bean always shows the first report. Using the debugger, I verified that the showReport() arguments ( fs, reportName, reportArguments ) are changing for each report. It’s as if the bean is remembering the first report arguments and ignoring any new arguments. If I restart the solution, and select a different report to preview, it becomes the ‘first report’.
Any help would be appreciated!
Hi Andrei,
thanks a lot for the new version of the Viewer bean ! I really appreciate your work. As you said the bug with switching tab panels is now fixed.
Unfortunatelly I can confirm the bug reported by kwpsd. Loading a report into the viewer bean is only working the first time. Afterwards with different parameters the report is not updated altough I am calling the showReport() method again.
If you need more details to reproduce the bug or any other help - let me know
Schoby
schoby:
Hi Andrei,thanks a lot for the new version of the Viewer bean ! I really appreciate your work. As you said the bug with switching tab panels is now fixed.
Unfortunatelly I can confirm the bug reported by kwpsd. Loading a report into the viewer bean is only working the first time. Afterwards with different parameters the report is not updated altough I am calling the showReport() method again.
If you need more details to reproduce the bug or any other help - let me know
Schoby
Hi Schoby,
We just fixed this and uploaded a new bean jar.
Please try it out!
Regards,
Andrei
jasantana:
Hi Andrei,I’m ttying with Servoy 6b1 and as soon as the form containing the bean is shown I can not go to any other and that happens without printing the report.
After printing the report it is not shown. The only way i got it in the screen is clicking a button that shows a modal form to search records. Of course the not going to another form behaviour is still there.
Any clue?
Thanks
I did download the new bean version you uploaded this morning
Hi,
Could you please try with the latest bean jar (just uploaded a new one today)?
Regards,
Andrei
Hi, Andrei.
I downloaded the new jrbean.jar file and tested it. The problem of showing only the first report generated has been fixed. Thanks for all your efforts and the timely manner in which you got the fix out! Great job!
Hi Andrei,
perfect work - works like a charm. Very good work. I really appreciate the work you have done for the jasper report integration for servoy. I think this plugin is one of the most useful plugins for Servoy.
Regards
Schoby