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

d_mihir

Members
  • Posts

    1
  • Joined

  • Last visited

d_mihir's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi,Currently my application picks up values from ReportResources_fi_FI.properties or from ReportResources_sv_SE.properties file depending on the underlying locale. Here ReportResources acts as the base name of resource bundle and this is configured in the resourceBundle attribute of the jasperReport tag in Reports.jrxml file. So, depending on the locale corresponding labels are displayed from respective .properties file after the PDF is generated. Now,what I need is, instead of .properties file, these values should be picked up from the database. How can this be achieved ? Can I extend a java.util.ResourceBundle class and specify its fully qualified class name as value for resourceBundle attribute in the jrxml ? Or is there some other approach ? I have already searched this an the other forums but could not get any concrete ideas. Any kind of help would be appreciated . Thanks,Mihir.
×
×
  • Create New...