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 4b3803d5..3b8b3ff6 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,15 @@ 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" } + }));