Package org.sprimaudi.zkspring.entity

Examples of org.sprimaudi.zkspring.entity.Unit


        ListModelList<Unit> lmUg = new ListModelList<Unit>(grups);
        lstData.setModel(lmUg);
    }

    public Unit extract() {
        Unit unit = txtIdUnit.getText() != null
                ? !"".equals(txtIdUnit.getText())
                ? unitRepository.findOne(txtIdUnit.getText())
                : new Unit()
                : new Unit();
        unit.setKode(txtKode.getText());
        unit.setNama(txtNama.getText());
        unit.setAlamat(txtAlamat.getText());
//        tarif.setKode(txtKode.getText());
        return unit;
    }
View Full Code Here


        prepareData();
    }

    @Listen("onClick=#tbNewDr")
    public void onNewDr(Event evt) {
        dataref = new Unit();
        show();
        txtNama.focus();
        menu = "unit";
        ctx.switchContext(hbCrud, null, menu);
        ctx.switchContext(gdForm, null, menu);
View Full Code Here

                    Messagebox.QUESTION)
                    == Messagebox.YES) {
                unitRepository.delete(dataref);
                alert("selected Unit succesfully deleted");
                menu = "pegawai_browse";
                dataref = new Unit();
                show();
                prepareData();
            }
        } else {
            alert("There is no any Unit Row selected");
View Full Code Here

TOP

Related Classes of org.sprimaudi.zkspring.entity.Unit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.