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

codyjasperForge

Members
  • Posts

    282
  • 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 codyjasperForge

  1. csbac, Care to elaborate on how to get a 'JasperReport' object to compile from the repository? As of now, I am pulling the jrxml as a 'ResourceDescriptor' Object. Now I just need to compile it into a 'JasperReport' so I can implement the AsynchronousFillHandle functionality. I would appreciate Any tips/guidance you could give me. I've searched this forum several times, but none of the results were helpful. :blink: Post edited by: codyjasperForge, at: 2007/10/10 13:13
  2. First find the ojdbc.jar file on your system. Place it in the 'lib' directory of JasperServer (if it isn't there already) Then log in as admin, setup a new datasource with the right URL and driver class. Save it. I think thats all... good luck!
  3. Hello, Can anyone guide me in running reports from the JasperServer repository asynchronously? For example, the client clicks a link to generate a report, while the report generation is taking place, a small 'progress monitor' is displayed in a small window. The user is then able to navigate throughout the rest of the application while the report is being generated. Any help is appreciated!!!
  4. I am trying to include paging in my web app while exporting reports to html format. I am not uploading report files from the disk, I am running reports from JasperServer. Does anyone know how to implement paging in html format? I need the client to be able to page thru the report in both html and pdf formats. Any help is appreciated :huh: :blink: :(
  5. What I need as a final result is a navigable report, (ideally without form submits), viewed through a browser in html. I have noticed the "exportPage()" method in JRHtmlExporter class, but it is not accessible. Can ANYONE PLEASE HELP? :pinch: Post edited by: codyjasperForge, at: 2007/09/27 17:40
  6. # There's a flag that instructs the engine to ignore pagination when filling a report. The resulting report will be comprised of a single long page. One could use this approach and then manually paginate the generated report if paginated export is also required. No change in the JR library is required to implement such an external pagination. Lucianc, Hello & good day, I was hoping you may evaluate a little more as to how/where this flag is accessed. I have created a web-app similar to the sample in the jasperserver2.0.1 distr. I need html exported format to be paginated. Is this flag included as part of the exporter? Also, I have been studying the behavior of exporting from within JasperServer, could you direct me to some useful information as to how the pagination functions there? For example: I choose to run a report stored in the repository (in html format) and the result is a .jsp containing the report, as well as the export options (pdf, xls, csv, etc.) and page navigation. From what I can see, the page navigation is using .js/Ajax to navigate thru pages. I would like to know more details about this process (if you could). Thanks so much! Jasper Reporting Rules!
  7. I am doing something very similar. If you have downloaded JasperServer, run the "ant" build of the java-web-app example, deploy it and make the necessary changes. The functionality is very similar in struts. I am looking for implementation of the WSClient code, to use in my app, please reply if you find anything relevant to this.
  8. Hello everyone, I am attempting to replicate something similar to the sample code provided w/jasperServer2.0.1. (java web app example) Does anyone have advice on how to design the WSClient? I have seen the implementation of the ireport-plugin, however I need a direct link to the report execution. Anyone who can give any helpful advice is greatly appreciated! (I mainly am interested in the "runReport" method(s)) Thanx! ;)
  9. Anyone have suggestions for accessing Jasperserver using struts in a webapp? I'm new to the subject, I know the format of the request object. I need to know how to connect to JasperServer, and how to send the request to JasperServer. PLEASE! Any help is appreciated.
  10. can you please tell where at in the JasperReport package this example is?
  11. I was looking at examples and best example i saw was in demosampleswebapp. But that used a local jrxml file. Can you tell me where this example is? I have downloaded JasperServer, and I am attempting a similar process. I do not have this example though. At least I haven't found it yet. I know that the request object that JasperServer processes is in xml format... <request operationName="" wsType="" ...> I have yet to determine a useful method of sending this request though. Anyone who can give any input is greatly appreciated.
  12. Are you passing parameters to subreport? Does subreport have 'Print when expression'? Does subreport table of query have data in it? These could be reasons for not seeing subreport.
  13. Make sure that all of the other band heights are set to 0. (Column Footer, Group Footer (if you have one)) Any band that is below the detail band that is not being used should have its height set to 0. Does this help?
  14. What I don't understand is why ireport now says these numberic fields are BigDecimal when previously, when the report was originally written a few weeks ago, it said they were Long? I'm sure that this is internal to iReport. You could attempt another method, though. Before you even declare your sql query, create each of the fields that will be returned, with the datatypes that you need. (i.e. Long...) Then insert the query and DON'T HIT 'READ FIELDS' button. Maybe then it will match the fields to the ones that you previously created. Just a thought...Hope it helps.
  15. If I had to guess, I would think that the cause of this roots to the 'Automatically Read Fields' attribute. Try changing it and see if anything changes...?
  16. iReport has the ability to read datatypes from your datasource. The problem is that whatever you are returning from the query is being cast into a datatype that iReport doesn't agree with. (for example, most 'Number' types from a datasource are considered 'BigDecimal' types in iReport. So when you declare a Field/Variable/Parameter, make sure that the 'class' is of the same type. To see what types you need, open your original source without modifying the query and look at the types that each field is of. Then declare you elements accordingly. Hope this helps...
  17. Instead of casting 'parameter_pendM' into and 'Integer', you need to cast it into a 'int'. Either add '.intValue()' onto the end of you parenthesis, or try another method of casting. ((java.lang.Integer)parameter_pendM.getValue()).intValue())); See what this does...
  18. Why couldn't you define your own DTD file for Jasper to use? You could copy the contents of the original DTD, make whatever changes you need, and then change the url to point to the new DTD file. Add a few more options for the 'pen' settings... Let me know what you think.
  19. You may be able to change the size of the border by editing the source itself. (see Edit->XmlSource...) Change the value of the corresponding element for your border. The only reason for the thickness issue that i know of is because your fields are located in the 'Detail' band. This means that they get displayed for each row that is returned. If they are located directly next to one another, the output makes the lines look thicker. Hope it helped...
  20. You cannont use 'If' 'else' statements from within iReport. The equivalent which you can use is a ternary clause. It looks similar. The bolded text is what will execute if the condition results to 'TRUE'. After the ':' is what will happen if it results to 'FALSE'. (len({parameter1}) > 0 ? {v_all_trnx.batch_no} = {parameter1} : Whatever happens when it's false goes here Hope it helps
  21. http://jasperforge.org/sf/wiki/do/viewPage/projects.jasperreports/wiki/Samples http://www.jasperassistant.com/docs/guide/index.html [This URL has been removed as it violates a JasperSoft copyright] These links have some useful info on them also... Post edited by: teodord, at: 2007/08/21 08:37
  22. You could maybe do this with the 'Print when Expression'. I'm not sure I understand what exactly you are trying to do..?
  23. I think that you can create 'templates', which make a great starting point for a report design. Check out the report wizard, there should be some kind of option there... Hope it helps...
×
×
  • Create New...