Explain the required and requiredmessage attribute of the <h:inputtext> tag?



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

Post New Answer

More Java Server Faces (JSF) Interview Questions

What is f:converter tag in jsf (javaserver faces)?

1 Answers  


What are tags in jsf?

1 Answers  


List some ajax attributes.

1 Answers  


Explain @CustomScoped annotations?

1 Answers  


What is component rendering model?

1 Answers  


Explain different types of jsf events?

1 Answers  


What is view object?

1 Answers  


How to implement internationalization (i18n) in JSF?

1 Answers  


What do you mean by bean scope?

1 Answers  


Explain the purpose of the selectone menu tag in jsf.

1 Answers  


What are the available scopes for the managed bean?

1 Answers  


How to relocate web resources in jsf (javaserver faces) application?

1 Answers  


Categories