在 后台赋值 是这样的
for (int month = 1; month < 13; month++) {
Map<String, String> map = new HashMap<String, String>();
map.put("customerBirthdayMonth", String.valueOf(month));
customerBirthdayMonthList.add(map);
}
form.setCustomerBirthdayMonthList(customerBirthdayMonthList);前台应该怎么显示?
我是这么写的。。
<form:select path="customerBirthdayMonth" id="customerBirthdayMonth" onchange="MMDD('this.value')">
<form:options items='${requestScope.premiumTestClaculationForm.customerBirthdayMonthList}' ></form:options>
</form:select> 月
for (int month = 1; month < 13; month++) {
Map<String, String> map = new HashMap<String, String>();
map.put("customerBirthdayMonth", String.valueOf(month));
customerBirthdayMonthList.add(map);
}
form.setCustomerBirthdayMonthList(customerBirthdayMonthList);前台应该怎么显示?
我是这么写的。。
<form:select path="customerBirthdayMonth" id="customerBirthdayMonth" onchange="MMDD('this.value')">
<form:options items='${requestScope.premiumTestClaculationForm.customerBirthdayMonthList}' ></form:options>
</form:select> 月
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货