Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Rendering Bound Data using resource bundle
davidsills
I am trying to render a value in a table that is tied to a resource bundle. The value is the type of military discharge and the values are, for example:
honorable
general
badConduct
and so forth.
I want them to show up in the report as:
Honorable
General
Bad Conduct
I have a resource bundle to translate:
discharge.honorable=Honorable
discharge.general=General
discharge.badConduct=Bad Conduct
But I cannot figure out how to tie the lot together. Nothing I use seems to work. I have focused on the onRender method for the data binding, assuming that this is the appropriate place, and the reportContext.getMessage(..., reportContext.getLocale()) method. But I can't quite figure out what to change (the left side of the equation) or how to access the value bound (the ellipsis on the right side of the equation). Can anyone supply me with an example?
Thanks!
David Sills
Find more posts tagged with
Comments
mwilliams
Hi David,
Why not just use mapping on that column in your table to change the values?