Project

General

Profile

« Previous | Next » 

Revision 35a95f17

Added by Cherian Mathew over 9 years ago

ApplicationWorkbenchAdvisor : added comments
EditPasswordElement : Added to make sure user exists in db before changing password
UserDetailElement : Disabled user text field since User is immutable
NewObjectHandler : added non-empty validator for the case of User and Group

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/user/UserDetailElement.java
44 44
			int style) {
45 45
		text_username = formFactory.createTextWithLabelElement(formElement,
46 46
				"Username", entity.getUsername(), style);
47
		// Disabling the text field since the user entity is immutable
48
		text_username.setEnabled(false);
47 49

  
48 50
		if (userIsAuthenticated() || CdmStore.getLoginManager().isAdmin()) {
49 51
			formFactory.createEditPasswordElement(

Also available in: Unified diff