Book Image

Oracle ADF Enterprise Application Development - Made Simple

By : Sten E. Vesterli
Book Image

Oracle ADF Enterprise Application Development - Made Simple

By: Sten E. Vesterli

Overview of this book

<p>With Application Development Framework (ADF), Oracle gives you the tool its own developers use. Modern enterprise applications must be user-friendly, visually attractive, and fast performing and Oracle Fusion Applications are just that; but to get the desired output you need proven methods to use this powerful and flexible tool to achieve success in developing your enterprise applications.</p> <p>Just as you need to know more than how to wield a hammer to build a house, you need more than knowing ADF to build a successful enterprise application. This book explains how to use the technology, create a blueprint, and organize your work to ensure success.</p> <p>This book takes you through an entire enterprise application development project using ADF. The book begins with a proof of concept, demonstrating the basics of the ADF technology, and then moves on to estimating the effort. You will then learn the necessary skills required to structure your project, your code, and how to build a successful enterprise project with ADF.</p> <p>Additional topics allow you to explore the support tools required for source control and issue tracking, learn to integrate them into your development environment, and use them productively to develop an enterprise application. Out-of-the-box functionalities such as skinning, customization, and internationalization are discussed at length.</p>
Table of Contents (20 chapters)
Oracle ADF Enterprise Application Development—Made Simple
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Defining localizable strings


Every string the user sees can be localized - labels for fields, mouseover texts, validation messages, and so on.

In some cases (such as the entity attribute above), JDeveloper can automatically register a new string and create an associated key in a resource bundle. However, you will normally work in the Select Text Resource dialog to define your strings, because this dialog provides the option to select an already defined string for a new purpose. You can invoke this dialog from many places:

  • To set a business component attribute (for example, Label), you click on the looking glass icon to the right of the field in the Control Hints dialog

  • To set a text for a user interface element from the Property Palette, you can click on the little triangle to the right of the field and choose Select Text Resource from the pop-up menu

  • To set a text for a user interface element from the visual page designer, right-click on the element and choose Select Text Resource for and then the element you want to define (for example, Label):

All of these bring up the Select Text Resource dialog, where you can define new strings or choose among the existing ones:

As you start typing in the Display Value field, JDeveloper automatically fills in the Key field with a suggested key. At the same time, the Matching Text Resources box is automatically reduced to the elements matching the display text you are entering. If an already defined text resource contains the text you want, you can select it in this box and click Select. Otherwise, type the display value, accept or change the suggested key, and click Save and Select to store your new key/value pair in the resource bundle.

The Description field is optional unless you checked the checkbox Always Prompt for Description under the Resource Bundle in the Project Properties dialog.

Tip

Give us a clue

It is very hard for a translator to translate an individual word without any indication of the context where it is used. If you do not provide good descriptions, you will either be spending a lot of time answering questions from your translator, or a lot of time correcting language errors once you show your enterprise application to native speakers of your target language.