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

awadhai

Members
  • Posts

    4
  • 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 awadhai

  1. I got the solution in the dataset "datasetParameter" was missing. i dont know why ireport does not adding this when we add the parameter in dataset , i added it manually like <datasetRun subDataset="dataset1"> <datasetParameter name="from_date"> <datasetParameterExpression><![CDATA[$P{from_date}]]></datasetParameterExpression> </datasetParameter> <datasetParameter name="to_date"> <datasetParameterExpression><![CDATA[$P{to_date}]]></datasetParameterExpression> </datasetParameter> <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression> </datasetRun> and Its worked fine ! Thanks
  2. Hi, I am new to ireport. I have created jrxml & when tried to preview. It always pickup default parameter instead of the parameter which i am passing. I have attached jrxml. can anyone help to come out ? Thanks, awadhai
  3. I am trying to create report using ireport(3.5.1) & i want to use Custom class. where my custom class reading file & returning a string like package org.test.com; public class ReadUrlFile { public String getInputUrls() { //reading file.... return urls; } for this i have created java class, made a jar, and then i have added text fied in report & refer the Class in jasper to use it's methods. like new org.test.com.ReadUrlFile().getInputUrls() i also tried like (new org.test.com.ReadUrlFile()).getInputUrls() I have added jar in ireprt classpath from : Tools > option > classpath. when i click on preview i am getting ClassNotFoundException Anyone help me to come out. what i have missing Thanks, awadhai
  4. I am trying to create report using ireport(3.5.1) & i want to use Custom class. where my custom class reading file & returning a string like package org.test.com; public class ReadUrlFile { public String getInputUrls() { //reading file.... return urls; } for this i have created java class, made a jar, and then i have added text fied in report & refer the Class in jasper to use it's methods. like new org.test.com.ReadUrlFile().getInputUrls() i also tried like (new org.test.com.ReadUrlFile()).getInputUrls() I have added jar in ireprt classpath from : Tools > option > classpath. when i click on preview i am getting ClassNotFoundException Anyone help me to come out. what i have missing Thanks, awadhai
×
×
  • Create New...