Skip to content
Snippets Groups Projects
Commit 461e793a authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Little bugfix

parent c98b3201
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -325,7 +325,10 @@ public class TapSchema implements EntitiesContainer<Schema>, Serializable { ...@@ -325,7 +325,10 @@ public class TapSchema implements EntitiesContainer<Schema>, Serializable {
*/ */
@Override @Override
public List<String> getAddableChildrenNames() { public List<String> getAddableChildrenNames() {
return TSMUtil.getAddableChildrenNames(schemas); List<String> addables = TSMUtil.getAddableChildrenNames(schemas);
addables = new ArrayList<>(addables); // list returned by previous method is unmodified
addables.remove(getName()); // TAP_SCHEMA insertion must be managed by TASMAN
return addables;
} }
/** /**
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<div class="form-group"> <div class="form-group">
<h:outputLabel for="username" class="col-sm-3 control-label">Username</h:outputLabel> <h:outputLabel for="username" class="col-sm-3 control-label">Username</h:outputLabel>
<div class="col-sm-9"> <div class="col-sm-9">
<h:inputSecret class="form-control" id="username" value="#{login.username}" onkeypress="credentials.loginClicked(event)" required="true" requiredMessage="Insert the username" /> <h:inputText class="form-control" id="username" value="#{login.username}" onkeypress="credentials.loginClicked(event)" required="true" requiredMessage="Insert the username" />
<p class="text-danger"><h:message for="username"/></p> <p class="text-danger"><h:message for="username"/></p>
</div> </div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment