Hello all--

I've been unable to get the Spring AjaxEventDecoration working in conjuction with the Spring ElementDecoration using the widgetType dijit.form.DateTextBox. It doesn't appear as if the AjaxEventDecoration is recognizing the firing of the onchange event, since any changes I make to the date do not kick off the ajax event handler.

I've tried setting up the widget in-line, as in the booking-mvc example, then adding the AjaxEventDecoration:

Code:
<form:form id="dateForm" modelAttribute="form">
        <div class="field">
			<div class="label">
				<label for="reportDate">Report Date:</label>
			</div>
			<div class="input">
				<form:input path="reportDate"/>
				<script type="text/javascript">
					Spring.addDecoration(new Spring.ElementDecoration({
						elementId : "reportDate",
						widgetType : "dijit.form.DateTextBox",
						widgetAttrs : { value : dojo.date.locale.parse(dojo.byId("reportDate").value, {selector : "date", datePattern : "yyyy-MM-dd"}), required : true }}));
					Spring.addDecoration(new Spring.AjaxEventDecoration({
						elementId: "reportDate",
						formId: "dateForm",
						event: "onchange",
						params: { _eventId: "updateEntries" }
					})); 
				</script>
			</div>
		</div>
	</form:form>
I've also tried just adding the AjaxEventDecoration in the jsp and then transforming the input field to a dijit DateTextBox using javascript, with the same (non)result.

When the page is first rendered, using the in-line method above, a dojo.js javascript error occurs (dojo.js _7a3.getMonth is not a function). However, the date field appears to work properly, so I don't think that is the issue here.

My ultimate goal is to have the Spring AjaxEventDecoration handle the onchange event and to use an Ext javascript DateField, which is much nicer than dijit's date selector. With that configuration, the onchange event is handled just fine in Firefox, but of course Internet Explorer is not recognizing it. That is why I decided to try the dijit date selector, thinking it might be more compatible with the spring ajax.

I am wondering if I need to use a different event in the AjaxEventDecoration, and if it needs to be one of those I see in the dojoattachevent list for that input field. I'd appreciate any ideas anyone can give me... Also any documentation links for the Spring js usage would be greatly appreciated.

Thanks,

Chris