O'Reilly logo

Oracle ADF Enterprise Application Development—Made Simple by Sten E. Vesterli

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

More internationalization

The error messages 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 it, 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, can retrieve the UI language, and store it in a variable. The view object can then use a bind variable assigned a value using the built-in adf.context object to refer to the bean value. Therefore, if you have a LocaleHelperBean with Session scope and a userLanguage parameter, you would ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required