Al añadir una pregunta no se limpiaba el formulario.
This commit is contained in:
@@ -102,6 +102,7 @@ public class QuestionsMBean extends ManagedBeanBase implements Serializable {
|
|||||||
|
|
||||||
public void addNewQuestion() {
|
public void addNewQuestion() {
|
||||||
getRemoteManagerMedicalTest().askQuestion(userID, this.selected.getTitle(), this.selected.getMessage());
|
getRemoteManagerMedicalTest().askQuestion(userID, this.selected.getTitle(), this.selected.getMessage());
|
||||||
|
this.create();
|
||||||
this.loadQuestions();
|
this.loadQuestions();
|
||||||
this.addFacesMessage(FacesMessage.SEVERITY_INFO, "Datos guardados", "La pregunta se registrado correctamente en el sistema.");
|
this.addFacesMessage(FacesMessage.SEVERITY_INFO, "Datos guardados", "La pregunta se registrado correctamente en el sistema.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user