Displaying Tips for Components

17-8 Web User Interface Developers Guide for Oracle Application Development Framework If the text to be used is stored in a resource bundle, use the dropdown list to select Select Text Resource . Use the Select Text Resource dialog to either search for appropriate text in an existing bundle, or to create a new entry in an existing bundle. For more information about using resource bundles, see Chapter 21, Internationalizing and Localizing Pages.

17.3.2 What You May Need to Know About Overriding Default Messages Globally

Instead of changing the message string per component instance with the messageDetail[XYZ] attributes, override the string globally so that the string will be displayed for all instances. To override globally, create a message bundle whose contents contain the key for the message and the message text you wish to use. You create and use a message bundle in the same way you create and use resource bundles for translation, using either Java classes or properties files. For procedures and information, see Chapter 21, Internationalizing and Localizing Pages. For message key information, see Appendix B, Message Keys for Converter and Validator Messages.

17.3.3 How to Display Component Messages Inline

Instead of having a component display its messages in the note window, use the message component to display the messages inline on the page. In order for the message component to display the correct messages, associate it with a specific component. To display component messages inline: 1. In the Structure window, select the component that will display its messages using the message component. If not already set, enter an ID for the component.

2. In the Component Palette, from the Common Components panel, drag a Message

and drop it where you want the message to be displayed on the page.

3. Use the dropdown menu for the for attribute to select Edit.

4. In the Edit Property dialog, locate the component for which the message component will display messages. Only components that have their ID set are valid selections. Tip: Use the dropdown menu to view the property help, which includes the parameters accepted by the message. Note: The message text is for the detail message of the FacesMessage object. If you want to override the summary the text shown at the top of the message, you can only do this globally. For more information, see Section 17.3.2, What You May Need to Know About Overriding Default Messages Globally.