Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Pentaho 8 Reporting for Java Developers

You're reading from   Pentaho 8 Reporting for Java Developers Create pixel-perfect analytical reports using reporting tools

Arrow left icon
Product type Paperback
Published in Sep 2017
Publisher Packt
ISBN-13 9781788298995
Length 470 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Francesco Corti Francesco Corti
Author Profile Icon Francesco Corti
Francesco Corti
Jasmine Kaur Jasmine Kaur
Author Profile Icon Jasmine Kaur
Jasmine Kaur
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Introduction to Pentaho Reporting FREE CHAPTER 2. Getting Started with Report Designer 3. Getting Started with Reporting SDK 4. Creating a Report with Report Designer 5. Design and Layout in Report Designer 6. Configuring JDBC and Other Data Sources 7. Including Graphics and Charts in Reports 8. Parameterization, Functions, Variables, and Formulas 9. Internationalization and Localization 10. Subreports and Cross Tabs 11. The PRPT Format and the Java API to Build It 12. Developing Using Data Sources 13. Internationalization, Subreports, and Cross Tabs Using Java 14. Building Interactive Reports 15. Using Reports in Pentaho Business Analytics Platform 16. Using Reports in Pentaho Data Integration 17. Pentaho Reporting Nightly Build and Support

Using resources to localize elements


In Pentaho Report Designer, there are three different elements available to be used for localization: resource-label, resource-field, and resource-message. All of them are available in the report element palette and can be used as usual-by dragging and dropping the element in the chosen place of the right band, directly in the report canvas.

The main idea behind the resource elements is that these kind of elements contain the key value for the resource and not directly the value to show. Once the key value is declared and used in a report element, a property file contains the association key/value and will be used at run time to show the final content to the user.

Using the resource-label element within your report allows you to localize labels with static texts. As introduced previously, this element contains the static resource key that will be resolved at runtime using the resource bundles detailed in the following paragraphs.

Using the resource-field...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime