Package com.xebia.lottery.commands

Examples of com.xebia.lottery.commands.CreateLotteryCommand


            add(new TextField<Double>("ticketPrice").setRequired(true));
        }
       
        @Override
        protected void onSubmit() {
            Response response = bus.sendAndWaitForResponse(new CreateLotteryCommand(VersionedId.random(), new LotteryInfo(name, drawingTimestamp, prizeAmount, ticketPrice)));
            System.err.println("response: " + response);
            setResponsePage(LotteriesPage.class);
        }
View Full Code Here

TOP

Related Classes of com.xebia.lottery.commands.CreateLotteryCommand

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.