Package net.datacrow.core.web.model

Examples of net.datacrow.core.web.model.DcWebModules.load()


       
        try {
            SecuredUser su = SecurityCentre.getInstance().login(wu.getUsername(), wu.getPassword(), true);
            wu.setSecuredUser(su);
            DcWebModules modules = (DcWebModules) vr.resolveVariable(fc, "modules");
            modules.load();
        } catch (SecurityException se) {
            fc.addMessage("loginError", new FacesMessage(se.getMessage()));
            return "login";
        }
       
View Full Code Here


        wu.setPassword(null);
        wu.setUsername(null);
        wu.setSecuredUser(null);
       
        DcWebModules modules = (DcWebModules) vr.resolveVariable(fc, "modules");
        modules.load();
       
        DcWebObjects objects = (DcWebObjects) vr.resolveVariable(fc, "webObjects");
        objects.setModule(0);
       
        return "login";
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.