diff --git a/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/hotels/booking/bookingForm.jsp b/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/hotels/booking/bookingForm.jsp index b76e91df..ce1c289f 100644 --- a/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/hotels/booking/bookingForm.jsp +++ b/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/hotels/booking/bookingForm.jsp @@ -81,11 +81,13 @@ Spring.addDecoration(new Spring.ElementDecoration({ elementId : 'smoking', widgetType : "dijit.form.RadioButton", - widgetModule : "dijit.form.CheckBox" })); + widgetModule : "dijit.form.CheckBox", + widgetAttrs : { value : true })); Spring.addDecoration(new Spring.ElementDecoration({ elementId : 'non-smoking', widgetType : "dijit.form.RadioButton", - widgetModule : "dijit.form.CheckBox" })); + widgetModule : "dijit.form.CheckBox", + widgetAttrs : { value : false }));