#struts2 类型转换# convertFromString(Map context, String[] values, Class toClass)
<s:formaction="order!addOrder.action"method="post"><s:textfieldname="order.user_id"la...
<s:form action="order!addOrder.action" method="post">
<s:textfield name="order.user_id" label="用户id" />
<s:textfield name="order.device_id" label="设备id" />
<sx:datetimepicker cssStyle="width:200px" name="order.start_time" label="开始" type="date"
displayFormat="yyyy-MM-dd hh:mm:ss" toggleType="explode" value="today"></sx:datetimepicker>
<sx:datetimepicker cssStyle="width:200px" name="order.end_time" label="结束" type="date"
displayFormat="yyyy-MM-dd hh:mm:ss" toggleType="explode" value="today"></sx:datetimepicker>
<s:submit value="预约" />
</s:form>
问: name="order.start_time"与String[] values values数组的关系???? 展开
<s:textfield name="order.user_id" label="用户id" />
<s:textfield name="order.device_id" label="设备id" />
<sx:datetimepicker cssStyle="width:200px" name="order.start_time" label="开始" type="date"
displayFormat="yyyy-MM-dd hh:mm:ss" toggleType="explode" value="today"></sx:datetimepicker>
<sx:datetimepicker cssStyle="width:200px" name="order.end_time" label="结束" type="date"
displayFormat="yyyy-MM-dd hh:mm:ss" toggleType="explode" value="today"></sx:datetimepicker>
<s:submit value="预约" />
</s:form>
问: name="order.start_time"与String[] values values数组的关系???? 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询