Jump to content
  • Translations in lists


    tcleenewerck
    Assigned User morlandin
    CategoryBug report
    Component: 6527
    PriorityNormal
    ReproducibilityAlways
    ResolutionNo Change Required
    SeverityMinor
    StatusClosed
    Versionv6.4

    When passsing a resource bundle via the parameter REPORT_RESOURCE_BUNDLE to a report the contents of a list component doesn't get translated. It seems that you need to pass the resource bundle using a dataset parameter:

     

    ```

    $P{REPORT_RESOURCE_BUNDLE}

    ```

     

    This is quite tedious boiler plate code and error-phrone. Is there a way to avoid this?

     

    Best Regards

    Thomas



    User Feedback

    Recommended Comments

    If one fails to pass the paramater to the list component, jasper reports tries to fetch the resource bundle using the 'Resource Bundle' property of the report. Since this reference to a file is not available when we generate the report ourself (cause we are using the REPORT_RESOURCE_BUNDLE parameter) a java.lang.Exception is thrown during the report generation process issued by `JasperFillManager.fillReport(...)`.

     

    Best Regards

    Thomas

    Link to comment
    Share on other sites

    Changed Resolution from Open to No Change Required

    Changed Status from New to Closed

    Changed Assigned User from - to @morlandin


    Hi, this seems a ticket for the JasperReports library, Jaspersoft Studio is used only to configure the report, but all its execution pass through the JasperReports Library. I can not move you bug, I will close this and you can open a new one in the correct section.
    Link to comment
    Share on other sites


×
×
  • Create New...