How to display error messages in JSF?
Answer / Chandrabhan Kushwaha
Error messages can be displayed in JSF by adding a message to the FacesContext's validationErrors or messages lists. These lists are used by the component tree to render any stored error or informational messages when necessary.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can there be no faces-config.xml for jsf application?
What are the main functions of the method in backing bean?
What is f:converter tag in jsf (javaserver faces)?
Explain the differences between a managed bean and backing bean in jsf?
Which rendering model is used in jsf?
Explain the purpose of the selectone menu tag in jsf.
What is the significance of name and eager attributes in managed bean?
Explain the purpose of the <h: form> tag.
What is facelets?
What is cdi in jsf?
Name some important event handlers.
List the benefits of data table tags in JSF?