<div class="control-group">
<label class="control-label" for="startDate">开始日期:</label>
<div class="controls">
<input id="startDate" name="startDate" type="text" readonly="readonly" maxlength="20" class="input-small Wdate"
value='<fmt:formatDate value="${banner.startDate}" pattern="yyyy-MM-dd"/>'
onFocus="var endDate=$dp.$('endDate');WdatePicker({onpicked:function(){endDate.focus();},maxDate:'#F{$dp.$D(\'endDate\')}'})"
onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false, maxDate:'%y-%M-%d'});"/>
</div>
</div>
<div class="control-group">
<label class="control-label" for="endDate">结束日期:</label>
<div class="controls">
<input id="endDate" name="endDate" type="text" readonly="readonly" maxlength="20" class="input-small Wdate"
value='<fmt:formatDate value="${banner.endDate}" pattern="yyyy-MM-dd"/>'
onFocus="WdatePicker({minDate:'#F{$dp.$D(\'startDate\')}'})"
onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false, maxDate:'%y-%M-%d'});"/>
</div>
</div>