25262728293031
view.show(panelName, ViewHelper.LIST_STAFF); } @Override public void createNew(View view) { new StaffForm(view, true, new Staff()).setVisible(true); }
8485868788899091
@Override public void edit(View view, int modelId) { DBHelper.openConnection(); Staff staff = Staff.findById(modelId); new StaffForm(view, true, staff).setVisible(true); DBHelper.closeConnection(); }