How do I create a dynamic style template that works in both JasperSoft Studio and on web server?

I can get my styles.jrtx to load and be viewable in JasperSoft Studio Design view by:

<template><![CDATA["styles.jrtx"]]></template>

In my web app I can get it to load using absolute path by passing in a parameter:

<template><![CDATA[$P{PATH_TO_STYLES}]]></template>

Both of these work beautifully on their own, but do not work together. In other words, if I use the first in the web app it says "Byte data not found". If I use the second, it does not appear in JasperSoft Studio Design view.

Is there a way that will work with both.

Using Eclipse plugin JasperSoft Studio 5.5.2

Steve

smakaiser's picture
Joined: May 8 2014 - 11:47am
Last seen: 2 years 6 months ago

Same happens to me.

Using Eclipse Luna with Jaspersoft Studio 5.6.2.

G-Flow - 8 years 10 months ago

0 Answers:

No answers yet
Feedback