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);
}