Commit 5734d1ad authored by Breixo Senra's avatar Breixo Senra

Edición de mascotas

parent 41243a62
......@@ -126,6 +126,7 @@ public class PetManagedBean implements Serializable{
}*/
public String edit(Long petId) {
//throw new RuntimeException("ERROR GRAVE (" + petId + ")");
final Pet pet = this.service.get(petId);
this.id = pet.getId();
......@@ -133,7 +134,7 @@ public class PetManagedBean implements Serializable{
this.birth = pet.getBirth();
this.animal = pet.getAnimal();
return this.getViewId();
return null;// this.getViewId();
}
public String cancelEditing() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment