private void modifyPerson(final String name, final String id_group, final boolean stored, final String password, final String id) {
String url = "http://localhost:8080/ScrumMasterServer/ScrumMasterServlet?user=" + username + "&password=" + pwd + "&person=modify&id=" + id + "&name=" + name + "&pwd=" + password;
// INICIO del request a la URL
RequestBuilder builder = new RequestBuilder(RequestBuilder.POST,url);
try {
Request request = builder.sendRequest(null,new RequestCallback() {
@Override
public void onError(Request request,Throwable exception) {
SC.say("Existe un problema al modificar el usuario!");
}
@Override