servlets struts hibernate spring maven java
 

JSF <h:inputfield > Tag



It is a standard field key field which acknowledges one line of content without any spaces and displays it as a set of asterisks as it is entered. At the end of the day, we state, it is utilized to make a HTML field phrase field which enables a client to include a string without the genuine string showing up in the field.

It is a standard password field which accepts one line of text with no spaces and displays it as a set of asterisks as it is entered. In other words, we say, it is used to create a HTML password field which allows a user to input a string without the actual string appearing in the field.

Example:

  1. <h:inputSecret value="#{user.password}" maxlength="10" size="15"   
  2. required="true" requiredMessage="Password is required"></h:inputSecret>  

JSF renders it as below HTML

  1. <input name="user-password" value="" maxlength="10" size="15" type="password">  






© Javacodegeeks © 2019 - 2019
All Right Reserved and you agree to have read and accepted our term and condition.

Python 3