Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
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
Oracle ADF Enterprise Application Development Made Simple: Second Edition

You're reading from   Oracle ADF Enterprise Application Development Made Simple: Second Edition

Arrow left icon
Product type Paperback
Published in Feb 2014
Publisher
ISBN-13 9781782176800
Length 432 pages
Edition Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Sten E Vesterli Sten E Vesterli
Author Profile Icon Sten E Vesterli
Sten E Vesterli
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Oracle ADF Enterprise Application Development – Made Simple Second Edition
Credits
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
1. The ADF Proof of Concept 2. Estimating the Effort FREE CHAPTER 3. Getting Organized 4. Productive Teamwork 5. Preparing to Build 6. Building the Enterprise Application 7. Testing Your Application 8. Changing the Appearance 9. Customizing Functionality 10. Securing Your ADF Application 11. Packaging and Delivery Internationalization Index

More internationalization


The error messages that you define for the business rules in your entity objects should also point to a string in a resource bundle instead of containing hard-wired error or warning messages.

If you have data in several languages in your tables and want to present, for example, a list of values in a user language, you need a managed bean and a bind variable in your view object. The managed bean has access to the browser session variables and can retrieve the UI language and store it in a variable. The view object can then use a bind variable assigned with a value using the built-in adf.context object to refer to the bean value. Therefore, if you have a LocaleHelperBean class with a Session scope and a userLanguage parameter, you would assign your bind variable to the adf.context.sessionScope.LocaleHelperBean.userLanguage expression.

You will notice that the standard texts that ADF supplies (for example, Sort Ascending, when pointing to a table column header) will also be localized. ADF comes in all of the languages to which Oracle normally localizes their end user software—several dozen at the last count. As we discussed in Chapter 8, Changing the Appearance, these strings are a part of the skin; if you are not happy with Oracle's standard texts in a language, you can create a skin that overrides them with your own texts.

It is also possible to change the language programmatically. However, it's a bit of an advanced topic and falls outside the scope of this book as it involves creating and registering a phase listener to ensure that the chosen language is always set before the page is rendered.

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