Wicket Password Field

#1

Using the RecordEditForm class, how do I add a password field instead of showing plain text?

0 Likes

#2

In the PersistentRecord the form is modeling you set the editor source for the column:

static {
    PASSWORD.getFormMeta().setEditorSource(PasswordEditorSource.getSharedInstance());
}

where PASSWORD is a StringField or EncodedStringField of the record.

1 Like