Skip to content
Snippets Groups Projects
Commit 48624b87 authored by Barbara B. Frosik's avatar Barbara B. Frosik
Browse files

minor changes to rename method

parent be8361a1
No related branches found
No related tags found
No related merge requests found
...@@ -217,6 +217,13 @@ public class UserInfoController extends CrudEntityController<UserInfo, UserInfoF ...@@ -217,6 +217,13 @@ public class UserInfoController extends CrudEntityController<UserInfo, UserInfoF
return super.getAvailableItems(); return super.getAvailableItems();
} }
// @Override
// public String prepareCreate() {
// current = createEntityInstance();
// current.setIsLocalUser(true);
// return "create?faces-redirect=true";
// }
//
@Override @Override
public String prepareEdit(UserInfo user) { public String prepareEdit(UserInfo user) {
passwordEntry = null; passwordEntry = null;
......
...@@ -193,7 +193,7 @@ public class UserInfo extends CloneableEntity ...@@ -193,7 +193,7 @@ public class UserInfo extends CloneableEntity
this.password = password; this.password = password;
} }
public boolean isIsLocalUser() { public boolean isLocalUser() {
return isLocalUser; return isLocalUser;
} }
......
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
<h:outputLabel for="email" value="Email" styleClass="entityDataLabel"/> <h:outputLabel for="email" value="Email" styleClass="entityDataLabel"/>
<h:inputText id="email" value="#{userInfoObject.email}" title="Email" styleClass="entityDataInputText"/> <h:inputText id="email" value="#{userInfoObject.email}" title="Email" styleClass="entityDataInputText"/>
<h:outputLabel for="password" value="Password" styleClass="entityDataLabel" rendered="#{userInfoObject.isLocalUser}"/> <h:outputLabel for="password" value="Password" styleClass="entityDataLabel" rendered="#{userInfoObject.isLocalUser()}"/>
<p:password id="password" rendered="#{userInfoObject.isLocalUser}" value="#{userInfoController.passwordEntry}" title="Password" feedback="true" styleClass="entityDataInputText"/> <p:password id="password" rendered="#{userInfoObject.isLocalUser()}" value="#{userInfoController.passwordEntry}" title="Password" feedback="true" styleClass="entityDataInputText"/>
<h:outputLabel for="globusUsername" value="Globus Username" styleClass="entityDataLabel"/> <h:outputLabel for="globusUsername" value="Globus Username" styleClass="entityDataLabel"/>
<h:inputText id="globusUsername" value="#{userInfoObject.globusUsername}" title="Globus Username" styleClass="entityDataInputText"/> <h:inputText id="globusUsername" value="#{userInfoObject.globusUsername}" title="Globus Username" styleClass="entityDataInputText"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment