Wednesday, May 9, 2012

Spring form:password showPassword

<password path="creditCardNumber" showpassword="true" />
By default, the password value is not shown. If you do want the password value to be shown, then set the value of the 'showPassword' attribute to true. It will show as "...." Useful when on form submmision, when validation failed, if you want to keep password field value. Otherwise the field need to be reentered. 

No comments:

Post a Comment