Coder Social home page Coder Social logo

grails-birt-report's People

Contributors

burtbeckwith avatar eyck avatar zhuravskiy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

grails-birt-report's Issues

Upgrade for Grails 3

@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.

baseUrl issues changing all *.rptdesign links to "file://http//www.domain.com"

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!

BIRT CSV export

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.

BIRT run engine incompatibility with Twitter bootstrap

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?

Better Messages

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"

plugin release.

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?

Grails Auto-Deploy /images/report/ issue "Resource reload failed!"

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.

Can not be able to identify listbox is multiselect or single

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.