springmvc的path真香真好用

2023-10-12 14:22:02 浏览数 (2)

springmvc的path真香真好用 实现了数据的回填

代码语言:javascript复制
<form:form id="searchForm" class="form-inline"  modelAttribute="CityBordereaux" action="${ctx}/act/cityBordereaux/queryCityBordereaux" method="post">
                <input id="pageNo" name="pageNo" type="hidden"value="${page.pageNo}" />
               <input id="pageSize" name="pageSize" type="hidden"value="${page.pageSize}" />
                <input id ="hideInput" type="hidden" name="hideInput" value="CityBorder"/>
                <div class="form-group">
            开始时间:<form:input path="startDate" class="required laydate-icon form-control layer-date"  onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})"/>
            结束时间:<input:input path="endDate" class="required laydate-icon form-control layer-date" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})"/>
               地市选取:<form:select path="cityName" class="form-control" style="width:203px;">
                                <form:option value="" label="全部"/>
    </form:select>
</form:form>

0 人点赞