userNameForSearch = null;
fullNameForSearch = null;
}
public void submitUpdateForm(ActionEvent event) {
SystemUser systemUser;
if (idSystemUser != null && idSystemUser.trim().length() > 0) {
systemUser = userMaintenanceFacade.find(Integer.valueOf(idSystemUser));
} else {
systemUser = new SystemUser();
}
systemUser.setUserName(userName);
systemUser.setFullName(fullName);
if (userPassword != null && userPassword.equals(userPasswordRepeat) ) {
systemUser.setUserPassword(userPassword);
userMaintenanceFacade.saveOrUpdate(systemUser);
setSuccessMessage(messageHandler.getMessage("userMaintenance_updateSuccess"));
} else {
userPassword = null;
userPasswordRepeat = null;