Jump to content
Changes to the Jaspersoft community edition download ×

nitin403

Members
  • Posts

    73
  • 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 nitin403

  1. When I compile this report on my local M/C using iReport 2.0.1/2.0.5 it works fine. But when I put this template on Prod. server where form this template PDF report is created using Servlet it fails. I am using style text in this report. I think same library/jar files are missing on Prod. server. But I am unable to understand which one is missing. This report doesn't fails on my local M/C. thanks lucianc Issue resloved. Actually I was just copy pasting the lib files. After I started the tomcat server it is working properly. Post edited by: nitin403, at: 2008/05/21 13:33
  2. Hi all, I recently updated some changes in a Report using iReport 2.0.5 And it works prefectly. I am using tomcat server and creating using servlet. But when i try to implement on our test server it doesnot show properly. I have a table format report with every cell having broder. In Ireport it shows properly. But on the test server it shows no border. And also fields with sytle text is not diplaying. I think I miss in some library files, But I don't know which one. Thanks for your help in advance.
  3. hi, I found the solution. I used following code Code: (Float.parseFloat($F{UnusedCreditAmount})) < Float.parseFloat("0"«») ? "<style forecolor='#ff0000'>" + $F{UnusedCreditAmount} + "</style>" : $F{UnusedCreditAmount}
  4. Hi, Thanks for your reply. Here is the case. I have a field, let say $F{UnusedCreditAmount} = "1234.12" I need to display it in my report as red color when -ve and black when +ve I know the code to print this field in Red. I tried many combination but it always gives error message in IReport 2.0.5 while compling Below is the error Code:he operator > is undefined for the argument type(s) Double, int value = (java.lang.String)(((new Double(((java.lang.String)field_UnusedCreditAmount.getValue()))>0) Thnaks for your help in advance
  5. Hi all, I need to compare a string which is double value with zero. And do some conditional print of value. I tried searching and using them. But always failed in doing so. It is like this. There is a string. and I want to check that if it is greater then 0 then print one thing or else print something else. This string can be like 1234.12 also. Thanks for your help in advance.
  6. What you asked for here is not possible. But why do you want the summary band after title band. If you explain what you are trying to achieve then we might be able to help.
  7. Try putting your title band section into column band section of the subreport JRXML template. The sample file you have provided is a bit confusing. If you can provide the JRXML then I might be able to help. Or if you can give an example of what you are getting and what you what you want that might also be helpful in resolving your issue.
  8. Hi! all I think martynhiemstra is correct. But u can create 2 frames. 1st will have your report & 2nd will refresh your report 10sec of loading the 1st frame. 2nd frame will be invisible off course. But surely even I would have liked if I could add some javascript to it.
  9. Hi! Even I would like to know how to add such javascript to a HTML report.
  10. Hi! Even I have face such problem previously. 1st, if there there is no data in the master report then then there is no report for the child report also. So make sure that the master report get some data in the query. Create some dumpy field for testing put them in the detail band and run it. If these dont show any report then please send your JRXML files on these forum.
  11. Thanks a lot it worked out perfectly. Thanks martynhiemstra.
  12. Hi, All. I have a text field called "ProjectAmount", which holds a String value. I want the total of this field in the column footer. So created a variable called "TotalPro". the expression is new BigDecimal($F{ProjectAmount}) This works fine. But if ProjectAmount is "" or null the report fails. In this report if such a condition comes then it should ignore this, and continue with rest of the report. I was not able to formulate the correct equation. Thanks for your help in advance.
  13. Hi, lucianc This post is making me confused. Can u explain this with an small example. what does "when a group breaks all the groups underneath it also break" means. Thanks for your help in advance.
  14. Hi, lucianc This post is making me confused. Can u explain this with an small example. what does "when a group breaks all the groups underneath it also break" means. Thanks for your help in advance.
  15. Hi. Multiple Query string is not possible. But there is some other way around. what you are trying to do is possible 1. Try passing that image as a parameter. 2. Find a way to query the datasource from the report Image field in runtime, and pull the logo.(I know this could be done, but don't know how to do this. If you get the answer to this then please reply).
  16. Yes I think you are correct. If master report doesn't pass any datasource to subreport then it will not print anything. Or try changing the "When no data" section in iReport's Report properties section
  17. Hi mkiranmk. You can use the below code to export your output directly in the user's browser. Code: JasperExportManager.exportReportToPdfStream
  18. Hi! Try to creating a docment of xmldatasource as follows: Code:Document document = JRXmlUtils.parse(new File(XML_Path)); Create HashMap lets say "Hmap". Code:[code] Hmap.put("XML_DATA_DOCUMENT",document); Code:[code] JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, Hmap,new JREmptyDataSource); Try this it might help you. Tell if t does. Post edited by: nitin403, at: 2007/09/24 06:31
  19. Hi! Try below idea it might work for you. See /demo/samples/stretch examples ->Instead of using staticfield use textfield. ->It might be boring but you have wright all the text in the textfield expression.(Remember to use "n" for every new line). so even if you are using huge text it will get stretch. (Learn the examples properly for stretching)This way you can get a multi-page report with static text. Let me know if helped you. If that doesn't help then,Can send an example of what you are getting and what what you want.
  20. Hi! Try below idea it might work for you. See /demo/samples/stretch examples ->Instead of using staticfield use textfield. ->It might be boring but you have wright all the text in the textfield expression.(Remember to use "n" for every new line). so even if you are using huge text it will get stretch. (Learn the examples properly for stretching)This way you can get a multi-page report with static text. Let me know if helped you. If that doesn't help then,Can send an example of what you are getting and what what you want.
  21. Try this. First sort by deptno. Form what you wrote I think you may be keeping the fields in details band. If yes then keep them in groups header/footer. If you have already done then, Show me your jrxml file.
  22. I don't know what you are trying to ask. Did you create a XML datasource. If did that, did you selected the xpath as "Query Language". If still it is not coming then try reinstalling or upgrading to iReport 2.0.1
  23. I don't get why it is not working. Just send your jrxml file I will see why it is not working.
×
×
  • Create New...