Jump to content
Changes to the Jaspersoft community edition download ×

Possible to use a field value as a resource key?


brossow

Recommended Posts

Not sure the subject describes exactly what I'm after, but I hope it's close.  Short version is that we want to do some complex calculations that ultimately return a string like 'resource.key.1' that we could in turn use to return the value of a key from a properties file.  In other words, we'd like to turn this:

$F{resourcekeyfield}  (with a value like 'resource.key.1')

into this expression:

$R{resource.key.1}

I tried several things (such as $R{$F{resourcekeyfield}} for example) but of course nothing worked.  Any suggestions are more than appreciated!  Thanks in advance.

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...