Displaying a Conversion or Validation Error Message
To display a message next to the component that caused the conversion or
validation error:
-
Open the page of your choice in the Visual Editor.
-
If you haven't assigned a unique ID to the component for which you
wish to show a message, do so now.
-
In the Component Palette, select JSF HTML
from the dropdown list, then drag and drop Message
to the page and position it next to the component for which the message is to
be shown.
A dialog appears for you to enter the component's unique ID.
-
Enter the ID and click OK.
-
In the Property Inspector, set the attributes for the message tag. For
information about the tag attributes, right-click the tag in the
Palette and choose Help from the
context menu.
Related topics
About Conversion and Validation Errors
Using Converters and Validators in JSF
Copyright © 1997, 2004, Oracle. All rights reserved.