This is a text field that displays echo characters instead of those entered by a user.
XML name of the component: passwordField
.
PasswordField
is implemented for Web Client and Desktop Client.
Basically, PasswordField
is similar to TextField apart from the ability to set datatype
. PasswordField
is intended to work with text and string entity attributes only.
Example:
<passwordField id="passwordField" caption="msg://name"/> <button caption="msg://buttonsName" invoke="showPassword"/>
@Inject private PasswordField passwordField; public void showPassword(){ showNotification((String) passwordField.getValue(), NotificationType.HUMANIZED); }
passwordField
attributes:
align | editable | maxLength | stylename |
caption | enable | property | visible |
datasource | height | required | width |
description | id | requiredMessage |
passwordField
elements: