Interfaz para filtro de fechas y botón adicional.
This commit is contained in:
@@ -65,6 +65,11 @@ public class VisitListMBean extends ManagedBeanBase implements Serializable {
|
||||
ctx.getExternalContext().redirect(String.format("VisitView.xhtml?id=%d&fromPage=%s", visitId, ctx.getViewRoot().getViewId()));
|
||||
}
|
||||
|
||||
public void editVisit(Integer visitId) throws IOException {
|
||||
FacesContext ctx = FacesContext.getCurrentInstance();
|
||||
ctx.getExternalContext().redirect(String.format("UpdateVisit.xhtml?id=%d&fromPage=%s", visitId, ctx.getViewRoot().getViewId()));
|
||||
}
|
||||
|
||||
public Date getSelectedDate() {
|
||||
return selectedDate;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user