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

irfan.khazi123

Members
  • Posts

    21
  • 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

Posts posted by irfan.khazi123

  1. Hi all,

     

    Im using HTML component to display HTML data in java. but its not working properly when there is huge data report is opening in java.

    if there is data more than one page the data is coming in one page and 2nd page data not displaying. is there any other way instead of HTML component i can use other tag.

     

    please help me with this.

     

    Regards,

    Irfan k

  2. Dear All,

     

    I have design a drilled down report using hyper link. when iam going to click on hyper link its going in a next page. instead of going to next report is there any other way to display the other report below the master report or in a same page. please help me with this.

     

    regards n thanks,

    irfan k

  3. Im getting Exception while generating report im using Struts 2.3.28 and jasperreports 4.5.1,

    12:42:32,430 ERROR [com.atk.common.struts2.result.JasperReportResult] (http--0.0.0.0-8080-4) Error building report for uri D:jboss-as-7.1.1.Final-MIGstandalonetmpvfstemp9bbbed31d5b5c7fehimma-pulmonary.war-d20a7b05840d8b89reportsjasperpulmonaryMainReport.jasper: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression :
        Source text : $F{evalDs} != null
        at net.sf.jasperreports.engine.fill.JREvaluator.evaluateEstimated(JREvaluator.java:267) [jasperreports-4.5.1.jar:4.5.1]
        at net.sf.jasperreports.engine.fill.JRCalculator.evaluateEstimated(JRCalculator.java:582) [jasperreports-4.5.1.jar:4.5.1]
        at net.sf.jasperreports.engine.fill.JRCalculator.evaluate(JRCalculator.java:553) [jasperreports-4.5.1.jar:4.5.1]
        at net.sf.jasperreports.engine.fill.JRFillDataset.evaluateExpression(JRFillDataset.java:1387) [jasperreports-4.5.1.jar:4.5.1]
        at net.sf.jasperreports.engine.fill.JRBaseFiller.evaluateExpression(JRBaseFiller.java:1654) [jasperreports-4.5.1.jar:4.5.1]
        at net.sf.jasperreports.engine.fill.JRFillBand.evaluatePrintWhenExpression(JRFillBand.java:306) [jasperreports-4.5.1.jar:4.5.1]
        at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:721) [jasperreports-4.5.1.jar:4.5.1]
        at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:265) [jasperreports-4.5.1.jar:4.5.1]
        at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:128) [jasperreports-4.5.1.jar:4.5.1]
        at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:836) [jasperreports-4.5.1.jar:4.5.1]
        at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:765) [jasperreports-4.5.1.jar:4.5.1]
        at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:84) [jasperreports-4.5.1.jar:4.5.1]

        at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_80]
    Caused by: java.lang.ClassCastException: java.util.ArrayList cannot be cast to net.sf.jasperreports.engine.JRDataSource
        at pulmonaryMainReport_subreport1_1462949725806_561776.evaluateEstimated(pulmonaryMainReport_subreport1_1462949725806_561776:530)    at
    net.sf.jasperreports.engine.fill.JREvaluator.evaluateEstimated(JREvaluator.java:254) [jasperreports-4.5.1.jar:4.5.1]

  4. Hi i created report using ireport and parameter multi select query. listing all the values in input control parameter in jasper server but my requirment is.

    --> I have to pass value through url like this.+ "/flow.html?_flowId=viewReportFlow&standAlone=true&_flowId=viewReportFlow&viewReport=true&decorate=no&reportUnit="
                                    + res.getUriString()+"&tenantId="+tenantId.getId();
      orange color is my parameter which im passing through server side.

    i need to access this url parameter value in jasper server input control parameter query like select from table where id = $p{url value} based on this i need to list the value in multislect query.

    please help me for this to achieve.

     

    Thanks and regards,

    Irfan k

  5. Hi All,

    Please help me for to achieve this. i created mandatory select box with single select query.

    list of values are appearing in select box bydefault its selecting first value but its not appearing as  "..." or "Select". i have to add "..." or "Select" by default with mandatory in jasper server.

    How i have to do this. please help.

     

    regards,

    Irfan k

  6. hi all, i have fixed the issue with following. till company name my querry is is fixed and static. remaning is optional and conditional i may give or may not.

    here is my solution. for example for employee code.

    1) i have created two param with one name is $p{empCode} and another $p{empCodeNot}.

    2) $p{empCode} i initialized in default expression $p{empCode}.equals(null)?"":$p{empCode}

    3) $p{empCodeNot} should be prompt false and contaion the actual query in default exp. like $p{empCode}!=null?"and empCode="'+$p{empCode}'"":""

    4) pass this $p!{empCodeNot} in query in ireport after where condition and it works.

     

    Thank you @kkriplani you are right.

     

     

  7. Hi All,

    Iam working on HR and payroll reports. i have 3 input controls in jasper server.

    1) Company name which is mandatory.

    2) Employee Code non mandatory.

    3) joining date non mandatry.

    if i select company name all employee should get display in report which is working but  remaining two non mandatory inputs i may select or may not i ll select.

    please help me for designing this dynamic query in ireport designer so that i can generate report based on input criteria.

     

    thanks, Irfan khazi.

×
×
  • Create New...