public void beforePost(PostEvent bevt) { if (bevt.getListaCampos() == lcCampos) { LCS_STATUS = lcCampos.getStatus(); } }
public void afterPost(PostEvent pevt) { if (pevt.getListaCampos() == lcCampos) { if (LCS_STATUS == ListaCampos.LCS_INSERT) { if ("J".equals(rgTipoFalta.getVlrString())) { insertFaltaJustificada(txtHIniFalta.getVlrString(), txtHIniIntFalta.getVlrString()); if ("I".equals(rgPeriodo.getVlrString())) { insertFaltaJustificada(txtHFinIntFalta.getVlrString(), txtHFinFalta.getVlrString()); } } else if ("I".equals(rgTipoFalta.getVlrString())) { insertFaltaInjustificada(txtHIniFalta.getVlrString(), txtHIniIntFalta.getVlrString()); if ("I".equals(rgPeriodo.getVlrString())) { insertFaltaInjustificada(txtHFinIntFalta.getVlrString(), txtHFinFalta.getVlrString()); } } } } }