title: Birt parameters
body: <p>I created a BIRT 4.3.0 report using the following code. The main point is: I want to pass a parameter <code>foo</code> to the dataSet:</p>
  
  <pre><code>public File actionPdf() throws EngineException {
      IReportEngine engine = getEngine();
  
      // Open the report design
      IReportRunnable design = null;
      design = engine.openReportDesign("c:\\hello_world.rptdesign");
  
      IRunAndRenderTask task = engine.createRunAndRenderTask(design);
      task.setParameterValue("foo", "bar");
      task.validateParameters();
  
      PDFRenderOption PDF_OPTIONS = new PDFRenderOption();
      File f = new File("xyz.pdf");
      PDF_OPTIONS.setOutputFileName(f.getAbsolutePath());
      PDF_OPTIONS.setOutputFormat("pdf");
  
      task.setRenderOption(PDF_OPTIONS);
  
      task.run();
      task.close();
      return f;
  }
  </code></pre>
  
  <p>and the dataSet looks as follows:</p>
  
  <pre><code>public class ActionsPerDateDataSet implements IPojoDataSet {
  
  public void open(Object obj, Map&lt;String,Object&gt; map) {
      System.out.println( obj +  " map: " + map  + " size: " + map.size())    
  }
  
  
  2015-11-03T13:23:18.993+0100|Information {org.eclipse.datatools.connectivity.oda.util_consumerResourceIds=org.eclipse.datatools.connectivity.oda.util.ResourceIdentifiers@24a1f3df, org.eclipse.birt.data.engine.expression.compareHints=org.eclipse.birt.data.engine.expression.CompareHints@99fdef1, OdaConsumerId=org.eclipse.datatools.connectivity.oda.profile.connectionPropertyService, PDF_RENDER_CONTEXT=org.eclipse.birt.report.engine.api.PDFRenderContext@491c843} map: {} size: 0
  </code></pre>
  
  <p>But there is no parameter <code>foo</code> set.How can I get it?</p>