Explain the required and requiredmessage attribute of the <h:inputtext> tag?
Answer / Rakhi Shankhdhar
<h:inputText> is a JSF component for text input. The 'required' attribute specifies whether the input field is required or not, and the 'requiredMessage' attribute sets the error message to be displayed if the field is left empty.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is f:validatelength tag in jsf (javaserver faces)?
Tell about the life cycle of java server faces.
What is f:validaterequired tag in jsf (javaserver faces)?
How to create jdbc (java database connectivity) connection in jsf (javaserver faces) application?
What are the mvc design modules?
What is h:datatable tag in jsf (javaserver faces)?
List some ajax attributes.
What is h:commandbutton tag in jsf (javaserver faces)?
What is h:form tag in jsf (javaserver faces)?
Which rendering model is used in jsf?
How can we obtain the generated event?
What are the features of jsf (javaserver faces)?