public boolean onNextClick() {
if (form.isValid()) {
Integer customerId = new Integer(customerSelect.getValue());
CourseBooking courseBooking = new CourseBooking();
courseBooking.setCustomerId(customerId);
courseBooking.setBookingDate(dateField.getDate());
courseBooking.setCourseType(courseSelect.getValue());
courseBooking.setBookingNotes(notesField.getValue());
NextPage nextPage = (NextPage) getContext().createPage(NextPage.class);
nextPage.setCourseBooking(courseBooking);
setForward(nextPage);