eyck / grails-birt-report Goto Github PK
View Code? Open in Web Editor NEWGrails BIRT Report plugin
Home Page: http://grails.org/plugin/birt-report
License: Apache License 2.0
Grails BIRT Report plugin
Home Page: http://grails.org/plugin/birt-report
License: Apache License 2.0
@eyck, I used your sources and created a (more or less) working version (at least for my case, I am upgrading an old grails project) for Grails 3.2: https://github.com/paulwellnerbou/grails-birt-plugin
If you have some spare time, I'd like to ask you to help me in documenting the configuration options available. I am not much into neither Grails nor BIRT.
Are you interested in publishing this as a new version of your plugin, listed here (http://grails.org/plugin/birt-report) and published in http://www.it-jw.com/maven/?
If not, I will use my public bintray account to publish the binaries for now.
Hello,
PLEASE HELP! I have been working on this issue for over a week. Trying various scenarios and getting nowhere.
ISSUE:
When generating PDF files using Grails 2.3.5 and Birt Plugin 4.3.0.3
If I do NOT set the Config.groovy variable "birt.baseUrl" then all my report (*.rptdesign) files with href="" links are being rewritten from (example):
<a href="http://www.domain.com">TEST LINK</a>
are being rewritten to:
<a href="file://http//www.domain.com">TEST LINK</a>
If I DO set the Config.groovy variable "birt.generateAbsoluteBaseURL = true;" the links are still getting set to:
<a href="file://http//www.domain.com">TEST LINK</a>
If I DO set the Config.groovy variable:
birt.baseUrl = "http://www.domain.com/";
then my links are rewritten to:
<a href="http://www.domain.com/http://www.domain.com">TEST LINK</a>
so I have to change all my report links to "relative" links. BUT, then I am unable to use external links!
Example:
<a href="http://www.externaldomain.com">External LINK</a>
is getting rewritten to:
<a href="http://www.domain.com/http://www.externaldomain.com">External LINK</a>
Is there a way to ignore "base_url" and keep all my links from being rewritten. Here is how I am generating the reports:
birtReportService.runAndRender(element.getReportDesignName().replaceAll('.rptdesign', layoutMode), map, options)
PLEASE HELP!
I am trying to find how to export in CSV format. It looks like this is possible for BIRT, but can it be achieved with the functionality currently provided by this plugin? If not can you give me an outline of the steps required? Thank you.
java.util.zip.ZipException: invalid entry size with org/apache/xmlbeans/impl/store/Xobj.class
org.eclipse.birt.runtime:4.3.0a need to be repacked properly!
I think org.eclipse.birt.runtime:4.3.0a contains in http://www.it-jw.com/maven repository.
With org.eclipse.birt.runtime:4.3.0 war deployed successfuly.
Envs: Jetty 9, RHEL 5.0
ReportService can have approach to store reports templates with domain class Report in dataBase.
Data binding very simplified file uploading http://grails.org/doc/latest/guide/theWebLayer.html#uploadingFiles
The local repo 'http://www.it-jw.com/maven' for the BIRT run time jar does not seem to exist. Installing the plugin and resolving to this repo does not find the jar and it's dependents
This probably isn't the place to ask, or look for guidance, but when you add both the grails-birt-report plugin and the kickstart-with-bootstrap plugin, the run-engine will fail to launch with the following error message.
Error |
2014-03-11 11:01:59,951 [http-bio-8080-exec-1] ERROR impl.ReportEngine - Error happened while running the report.
Message: org.mozilla.javascript.Parser.parse(Ljava/lang/String;Ljava/lang/String;I)Lorg/mozilla/javascript/ScriptOrFnNode;
I've done all the digging I can do, and the only possible source for the conflict seems to be with a 3rd party plugin both of these utilize called Rhino.
To reproduce the error, simply add the kickstart-with-bootstrap to the birt-report sample application and it will fail everytime.
Any thoughts?
It would be really useful to show the value of imageDir When it fails to load on line 94
of BirtReportService
log.error "Could not create report image '${imageDir]' directory, report generation disabled"
How could I render the generated pdf in landscape layout? As my report width is too long for standard A4 layout.
Thanks,
Feras
I notice the latest version is 3.7.0.1
I recall reading on the list a while ago that there were some issues with releasing.
Is the recomended way to install this latest greatest different than using the grail default repo?
Hello.
I am trying to generate HTML using my *.rptdesign file.
It appears that Birt plugin is storing tmp report images in my Grails /web-app/ folder "/web-app/images/report".
When the report runs and generates, it spits out this error multiple times: "Resource reload failed!"
Is there way to exclude this directory from Grails auto-deploy? I tried (in Config.groovy):
grails.resources.adhoc.excludes = ["/images/report/*"]
But that doesn't seem to work.
I have also tried setting the birt.imageUrl (in Config.groovy) to:
birt.imageUrl = java.io.tmpdir;
Any help would be appreciated!
Thank you in advance.
Hi,
I am using birt 3.2.22 version. I have added a reportparam type listbox to the report and able to populate the list box with required values.
In listbox 'Edit parameter' page I had selected option 'Allow Multiple values' but in the UI I can not able to select multiple values from the list. The list box was showing like dropdown. I didn't find a way to set 'multiple' on listbox.
Finally I found a solution for this. I have modified the birt-repot plugin code. I have added below line in BirtReportService.groovy.
reportParams << ['name': param.name,
'type': param.dataType,
'controlType': param.controlType,
'defaultVal': task.getDefaultValue(param),
'helpText': param.helpText,
'promptText': param.promptText,
'allowBlank': param.allowBlank(),
'listEntries': listentries,
'multiValue' : param.scalarParameterType == 'multi-value'?true:false //This is new line that I have added
]
Thanks,
JanakiRam
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.