Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

JSF Message Example

5 total views, 5 views today

JSF Message Example

The JSF Message tag help us to displays an error message to the UI component if a validation or conversion error occurred to that component. The value of the ‘for’ attribute in h:message should bound to ‘id’ of the UI component. Below is an example of h:message

JSF h:message Example

The below JSF page has a h:Message and two h:inputText components. The required attribute is set to true for the input components. The h:message display an error message if the form is submitted with blank values in the input components.

Username:
Password:

Below is how the page look likes in browser



This post first appeared on Oracle ADF, BPM, BI And Primavera P6 Tutorials, please read the originial post: here

Share the post

JSF Message Example

×

Subscribe to Oracle Adf, Bpm, Bi And Primavera P6 Tutorials

Get updates delivered right to your inbox!

Thank you for your subscription

×