Package com.ponysdk.sample.client.event

Examples of com.ponysdk.sample.client.event.UserLoggedInEvent


        user.setName(loginPageView.getLogin());
        user.setPassword(loginPageView.getPassword());

        UIContext.get().setApplicationAttribute(UISampleEntryPoint.USER, user);

        final UserLoggedInEvent loggedInEvent = new UserLoggedInEvent(LoginActivity.this, user);
        loggedInEvent.setBusinessMessage(loginPageView.getLogin() + " is now connected");
        fireEvent(loggedInEvent);

        log.info("Logged with #" + user.getLogin() + "/" + user.getPassword());

        goTo(new PagePlace("CheckBox"));
View Full Code Here


        user.setName(loginPageView.getLogin());
        user.setPassword(loginPageView.getPassword());

        UIContext.get().setApplicationAttribute(UISampleEntryPoint.USER, user);

        final UserLoggedInEvent loggedInEvent = new UserLoggedInEvent(LoginActivity.this, user);
        loggedInEvent.setBusinessMessage(loginPageView.getLogin() + " is now connected");
        fireEvent(loggedInEvent);

        goTo(new PagePlace("CheckBox"));
    }
View Full Code Here

TOP

Related Classes of com.ponysdk.sample.client.event.UserLoggedInEvent

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.