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

harikumar

Members
  • Posts

    6
  • Joined

  • Last visited

harikumar's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi ,We have requirement to merge cells of rows based on condition on field.Example is below : 1 Test 1 emp 1 2 Test 2 emp 2 3 Test 3 emp 3 4 Merged Cell 1 pg1 pg2 pg3 pg4 5 Merged Cell 2 pg5 pg6 Could you please guide me how this can be possible.Right now i am using subreport to generate the table. Thanks, Hari
  2. Hi Clark, Thanks for the reply. Actually i am looking for an option which can set page print scaling properties such as adjust to, fit to values so that user can directly give print with out setting any print page set up options. Thanks, Hari
  3. Hi, I am using ireport 4.5.0 to generate jrxml , passing java bean data source & using JRXlsExporter to export the excel sheet. I need to set the print page set up options (like adjust scaling) in while exporting to excel sheet so that user can directly give print with out setting any print settings. Can any one help me how can i do this ? Thanks in Advance, Hari
  4. Could any one help in solving this issues? i was unable to proceed to my work due to this issue.Thanks.
  5. Could you please attach the tutorial for adding table component in report. Thanks, Hari
  6. Hi, I am new to jasper reports and i am facing issue of reading nested level subreports while filling the report using jasperfile. I have report structure like this : Main Report Sub Report 1 Sub Report 2 -- > Sub Report 3 , Sub Report 4 , Sub Report 5 (in sub report 5 --> sub report 6) I have created jasperfiles using iReport Tool 4.0.2 and copied all the .jasperfiles from my local machine to web application on client machine. Web application is having jasperreports-4.5.0.jar in calss path. All reports are present in /WEB_INF/classes/reports/ folders in web application war and application is deployed in IBM web sphere server. I am using JasperRunManager.runReportToPdfStream(inputStream,OutputStream,map,dataBeanCollection); code to generate pdf, it is not finding the nested sub reports (second level,..) i am getting below exception : net.sf.jasperreports.engine.JRException: Could not load object from location : C:/WEB-INF/reports/ It is searching in local system report directory (iReport directry in my local system) If i remove nested sub reports , i am able to see pdf generated with first level sub reports. Please help me in solving this problem. Thanks in advance! Hari Code:sub report expressions for the sub report 1 and sub report 2 :<subreport isUsingCache="true"><reportElement stretchType="RelativeToBandHeight" x="21" y="456" width="200" height="100"/><dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{programCompatibility})]]></dataSourceExpression><subreportExpression class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "compatibilityReport.jasper"]]></subreportExpression> </subreport>
×
×
  • Create New...