You can create language-specific versions of control hints that you set
for ADF Business Components attributes by duplicating the
MsgBundle.java
file that contains the original control hints.
To localize the MsgBundle.java file:
Search the file system for the generated <viewobjectname>
ImplMsgBundle.java
file in the /src/bcpackage/common/
directory of your Business Components Model project folder.
Copy the file and rename it with the locale suffix specified by the
HTTP request object. For example, the German version of the file
MyVOImplMsgBundle.java
would be renamed as:
MyVOImplMsgBundle_de.java
Open the renamed file in a text editor and edit all occurrences of
the renamed class in the .java
file.
Set your browser's language locale preferences to use the desired localized file. For example, if you use Microsoft Internet Explorer:
If the browser's language settings do not match a corresponding
localized MsgBundle.java
file (one with the correct
suffix), the JSP page will revert to the default attribute settings
defined in the Business Components project, as though no control hints
had been defined.
About Control Hints for Business Components Clients
Copyright © 1997, 2004, Oracle. All rights reserved.