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

Is it possible to define the path to external style files (jrtx) at runtime?


marco.dalco

Recommended Posts

I have tried to include a parameter as part of the path to a linked .jrtx file, but the report fails to load and parameters in .jrxml files are defined after styles: are parameters supposed to work before they are defined? Is there any other way to define a path to the style file at runtime?

...
<template><![CDATA["$P{reportPath}/styles.jrtx"]]></template>
<parameter name="reportPath" class="java.lang.String"/>
...

Thanks

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...