Package dao

Examples of dao.ProbaDao


    private Boolean campuriNecompletate = false;

    @DefaultHandler
    public Resolution view() {

        IProbaDao probaDao = new ProbaDao();
        Proba proba = probaDao.geProbaByID(Integer.parseInt(getContext().getRequest().getSession().getAttribute("idProba").toString()));
        getContext().getRequest().getSession(true).setAttribute("compresibilitate", getTabel(proba.getIdProba()));
        return new ForwardResolution("/WEB-INF/jsp/compresibilitate.jsp");
    }
View Full Code Here


        return new ForwardResolution("/WEB-INF/jsp/compresibilitate.jsp");
    }

    public Resolution adauga() {
        ICompresibilitateDao compDao = new CompresibilitateDao();
        IProbaDao probaDao = new ProbaDao();
        Proba proba = probaDao.geProbaByID(Integer.parseInt(getContext().getRequest().getSession().getAttribute("idProba").toString()));
        if (getButonRadio() == null) {
            setRadioNeselectat(true);
            return new ForwardResolution("/WEB-INF/jsp/compresibilitate.jsp");
        } else if (getButonRadio().equals("1")) {
            if ((getAn_nou() == null) || (getLuna_nou() == null) || (getZi_nou() == null) || (getOra_nou() == null) || (getMinut_nou() == null) || (getSarcina_nou() == null) || (getCitire_nou() == null)) {
View Full Code Here

TOP

Related Classes of dao.ProbaDao

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.