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

vmstepanov

Members
  • Posts

    3
  • 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 vmstepanov

  1. Did you try to achieve it using scriptlet? 1)Add scriptlet with static methods extracting your stuff from xml static String exractF5(String xml); 2)implement extraction using some XML parser 3)add variable f5 = Scriptlet.exractF5(serviceMetadataHeader); Actually I didn't test it to work, just an idea ;)
  2. Try this 1)Get the source code 2)Remove Html Encoding package net.sf.jasperreports.engine.util.JRStringUtil public static String htmlEncode(String text) ... 3)build 4)Now you are able to insert any html in your report including html inputs
  3. Hi ALL, How can I return value of variable from jasper report to caller java code? Pseudo-code: set report parameters run report get some variable back from report make decision depending on previous step Or Map parameters = new HashMap(); parameters.put(key, "value"); JasperPrint jasperPrint = JasperFillManager.fillReportToFile(fileName, parameters, getConnection()); String pageCount = jasperPrint.getVariableValue("PAGE_COUNT"); //METHOD NOT EXISTS, just fantasy followingJavaProcessing(pageCount); I believe this issue could be solved using scriptlet, but I have no idea how to return something from scriptlet in multithreaded environment.
×
×
  • Create New...