klausboeing Posted November 20, 2010 Share Posted November 20, 2010 Hello, I am developing an extension to the jasperreports, which enables the use of scripts that run on the jvm, following the jsr 223. At first use a static field to write the scripts. Add a property in the static field enabling the use of scripts, "script = true". As the jasperreports uses natively groovy, I consider that the standard language, other languages, I define another property "script.language = jruby". I've been looking for this feature, but could not find.I will make injection of fields, variables and parameters within the scripts, so it is possible to do complex algorithms within a report.I have a prototype with this implementation, and would like to hear from you about this implementation. There is something about this, someone is interested in that feature. Thanks. Link to comment Share on other sites More sharing options...
Teodor Danciu Posted January 27, 2011 Share Posted January 27, 2011 Hi, I'm not sure you saw that in JR we support pluggable expression languages. We ship the library with buil-in report compilers for groovy, java, javascript and bsh. You can implement your own compilers and associate them with a new custom value for the language attribute in JRXML.Is there a reson for which you did not implement the existing report compiler interfaces of JR, to support jruby?How is your added feature different from a "normal" JR report compiler? Thanks,Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now