Jump to content
We've recently updated our Privacy Statement, available here ×

samhast

Members
  • Posts

    68
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by samhast

  1. Now it works! thanks! I have just one question, now my parameter have a default value expression: new net.sf.jasperreports.types.date.DateRangeBuilder("MONTH").toDateRange() Is it possible to replace "MONTH" with a parameter ? For example the user select in a list last month or last week and the value changes.. Is that possible?
  2. Solved --> evaluation time of my textfield = 'Now'. I changed it to Report.. Now it's ok..
  3. See Attachment. Is it possible to do calculation with such variable. Because this variable is already a sum of other fields... When I do some calculations with fixed integers, it works. But everytime when I use the field you see in attachment, the result = null
  4. When I add a variable and add the variable $F{Potentials_Netto_Winst} The restult = null.. But when i drag the variable $F{Potentials_Netto_Winst} on my report i see the correct result.. So i don't know how I can subtract a value from a variable that is the sum of other values in the report..
  5. I did that: 130000 ]]></initialValueExpression></p><p> </variable></p><p> <variable name="variable1" class="java.math.BigDecimal"></p><p> <variableExpression><![CDATA[$V{Potentials_Netto_Winst_(€)_2}.subtract( $V{VasteKost} ) But now my Variable 'VasteKost' = null and my subtract result is also null
  6. I did that: Variable 3: Variable Expression = $V{Potentials_Netto_Winst}.subtract( $V{Potentials_Totaal_Kosten_(€)_1} ) Result = null
  7. I have one variable: BigDecimal Calculation = Sum Rest Type = report Variable Expression = $F{Potentials_Netto_Winst} This variable gives me a sum of all the Potentials_Netto_Winst in the report.. Now I want to subtract that variable with another variable (also big decimal and initial value expression = 130000) and save the result in a 3rd variable.. How can I do that???
  8. Is it possible to schedule ONE job for all reports? Because I have now 140 reports. If I want to schedule all the reports, I now schedule them all one by one... Is there a quick way to do this?
  9. I trying to use the DateRange parameter. I followed the instructions from the iReport PDF. That's my code: I have an error when I run the report: Compilation exceptions: com.jaspersoft.ireport.designer.compiler.ErrorsCollector@91c832net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:calculator_all32op_1360591932552_649225: 131: unable to resolve class DateRangeBuilder @ line 131, column 22.calculator_all32op_1360591932552_649225: 207: unable to resolve class DateRangeBuilder @ line 207, column 22.calculator_all32op_1360591932552_649225: 283: unable to resolve class DateRangeBuilder @ line 283, column 22.3 errors at net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits(JRGroovyCompiler.java:113) at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:201) at net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:240) at net.sf.jasperreports.engine.JasperCompileManager.compileToFile(JasperCompileManager.java:156) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:439) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:528) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:calculator_all32op_1360591932552_649225: 131: unable to resolve class DateRangeBuilder @ line 131, column 22.calculator_all32op_1360591932552_649225: 207: unable to resolve class DateRangeBuilder @ line 207, column 22.calculator_all32op_1360591932552_649225: 283: unable to resolve class DateRangeBuilder @ line 283, column 22.3 errors at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:296) at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:829) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:511) at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:487) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:464) at net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits(JRGroovyCompiler.java:109) ... 7 more[/code]
  10. Yes I read about it. But when I try it, I always get an error: Cannot resolve DateRange......
  11. I think that's the solution i am searching for: iReport 5.0 introduces relative dates.. Can someone give me an example how I can do it in iReport..
  12. Hello, Is it possible to insert dynamic date parameters for schedule reports? Like last month? Current month? Can someone help me with that..
  13. I created a table report. In jasperserver I can now filter on a column. Everything works good, but my count variable doesn't update.. I created a variable that counts all the rows in my table. But when I filter, it doesn't change.. Is it possible that the variable change after I set a filter on a column?
  14. Where can I download the PHP Extension for Jasperserver 5?
  15. Solved: First I installed java on my ubuntu server: apt-get install openjdk-6-jre then I set my java_home variable: export JAVA_HOME=/usr/lib/jvm/java-6-openjdk The second fault I made: I copied the default_master.properties form my old jasperserver; now I copied it from samle_conf and configured it like it was described in the manual. So now everything is fine. Jasperserver 5 is installed on my system
  16. The manual explained me this: go to the tomat directory. make a new backup directory and copy tomcat/webapps/jasperserver to that backup directory delete tomcat/webapps/jasperserver directory.. But when I upgrade to 5, there is nonew directory in webapps... So I think it's normal that it doesn't work..
  17. No java installed.. I just installed jasperserver 4.7 with war file.. on ubuntu... Now I want to upgrade, so JAVA is required? ?
  18. I have big problems when I want to upgrade from 4.7 to 5.0: I followed the manual: my jasperserver 4.7 is installed in opt/jasperreports-server-cp-4.7.0/ Then you have to go to tomcat direcory: opt/jasperreports-server-cp-4.7.0/apache-tomcat and backup the webapps/jasperserver and then delete that directory.. I did that! then backup DB I copied my default_master.properties and paste it in the jasper5/buildomatic then i ran the upgrade script.. I got a couple of warnings, but everything is ok.. But my server isn't upgraded? /opt/jasperserver/apache-tomcat/webapps/jasperserver is gone and not recreated.. Is that a correct upgrade procedure? I also tried it to not delete the webapps/jasperserver directory, but then I only see the 4.7 version.. What am I doing wrong? first I had error about java_home, then I installed java on my ubuntu... So I don't know what I am doing wrong?
  19. I have question: The feature Dashboard, is that also in the community edition? I went to a seminar today, and there they told me that the whole jasperserver suite is open source... Can someone explain me the difference between jasperserver library and jasperserver itself...
  20. When I execute a report in iReport and it contains a date parameter, it always remember what date I selected last execution (I just have to click OK, because the date parameter is already filled in with last date selection) Is it possible that jasperserver do the same? So I don't have to select everytime the same date, when I execute a report for another department...
  21. I have a report with one chart on it. I want to click on a pice of the pie and execute then a subreport and pass some parameters. How can I do that? I found something under chart date --> section hyperlink.. But I don't understand how I can configure it..
  22. Yes I understand that, but I don't know why it is like that? It's not user friendly...
  23. I can login through SOAP and access my reports. But when I want to run a report with input control, there is something very strange: Attention: some input controls may require a number. The date/time format used with the webservices is a Long (current time: 1352463049). I can't insert a date??? How can I fix that?
  24. is it a problem that my port is 8443 ? that is the line in my index.php: $jc = new JasperJasperClient('*ipaddress*', '8443', 'jasperadmin', 'password', '/jasperserver');
×
×
  • Create New...