Corección de interfaz para vista de la agenda del médico.
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
package managedbean.visit;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.annotation.PostConstruct;
|
||||
import javax.faces.context.FacesContext;
|
||||
import javax.faces.view.ViewScoped;
|
||||
import javax.inject.Named;
|
||||
|
||||
@@ -57,6 +59,10 @@ public class VisitListMBean extends ManagedBeanBase implements Serializable {
|
||||
|
||||
public void showData() {
|
||||
}
|
||||
|
||||
public void showVisit(Integer visitId) throws IOException {
|
||||
FacesContext.getCurrentInstance().getExternalContext().redirect("VisitView.xhtml?id=" + visitId.toString());
|
||||
}
|
||||
|
||||
public Date getSelectedDate() {
|
||||
return selectedDate;
|
||||
|
||||
Reference in New Issue
Block a user