Explain the difference between the required and requiredmessage attributes in the <h: inputtext> tag.
Answer / Deepak Singh Rathore
The required attribute is used to specify whether a component's input is mandatory, while the requiredMessage attribute is used to set the error message that will be displayed if the required input is not provided.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is h:messages tag in jsf (javaserver faces)?
How to validate managed bean in jsf (javaserver faces)?
What is f:validatelength tag in jsf (javaserver faces)?
What is the life cycle of jsf (javaserver faces)?
What is javaserver faces navigation model?
What is h:commandbutton tag in jsf (javaserver faces)?
Name some important event handlers.
What is javaserver faces event and listener model?
What is f:validaterequired tag in jsf (javaserver faces)?
What is binding (JavaServer Faces technology)?
What are the features of facelets used in jsf?
What is view object?