我正在使用Spring Web-flow并尝试使用Spring AjaxEventDecoration来启动转换。但是这个代码没有运行
<tr>
<td><label>Borough</label></td>
<td><select id="borough" name="borough">
<option value="UNKNOWN">Unknown</option>
<option value="X">Bronx</option>
<option value="K">Brooklyn</option>
<option value="M">Manhattan</option>
<option value="Q">Queens</option>
<option value="R">Staten Island</option>
<option value="O">All Other Schools</option>
</select>
<script type="text/javascript" src='<c:url value="/resources/spring/Spring.js" />'> </script>
<script type="text/javascript">
Spring.addDecoration(new Spring.AjaxEventDecoration({
elementId : "borough",
formId : "member",
event : "onChange",
params : {
_eventId : "loadSchools",
fragments : "body"
}
}));
</script>
</td>
</tr>