<page-specification class="com.longcredit.KEye.app.business.SingleObjPage">
<component id="Privilege" type="Privilege">
<binding name="pageName" value="'report'"/>
</component>
<component id="report_alert" type="Hidden">
<binding name="value" value="ognl:po"/>
</component>
<component id="device_type" type="PropertySelection">
<binding name="model" value="ognl:getSelect('1000001','action=getdeviceprototypelist')"/>
<binding name="value" value="ognl:po.prototypeid"/>
</component>
<component id="fromdate" type="DatePicker">
<binding name="translator" value="translator:date,pattern=yyyyMMdd" />
<binding name="value" value="ognl:po.fromdate"/>
</component>
<component id="todate" type="DatePicker">
<binding name="translator" value="translator:date,pattern=yyyyMMdd" />
<binding name="value" value="ognl:po.todate"/>
</component>
</page-specification>
组件定义如上
<body jwcid="@Body">
<div id="container">
<span jwcid="@Head"/>
<span jwcid="Privilege"/>
<div id="content">
<div id="position">您现在的位置:BrowseView >> <a href="#">报表</a>>>告警查询</div>
<div id="innerContent">
<div class="story">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="cTable">
<tr><form jwcid="getAlertReport@Form">
<table>
<td width="3%" rowspan="2" class="contentTableLeft"></td>
<td width="15%" class="contentTable">
<h3><img src="images/img_system.gif" />告警报表</h3>
<div class="sectionTables">
<div class="innerSectionTables"></div>
</div> </td>
<td width="79%" class="contentTable">
设备原型:<select name="select" id="prototypeid" jwcid="device_type"></select>
从:<span jwcid="fromdate"/> 至:<span jwcid="todate"/>
<input name="submit" type="submit" value="查 询" /> </td>
<td width="3%" rowspan="2" class="contentTableRight"></td>
<table>
</form>
</tr>
</table>
</div>
<span jwcid="@Foot"/>
</body>
显示错误 :页面能显示出来 但是有JS错误提示 ,页面上显示日期组件的地方没有正常的图形,是红X,错误提示为: calendar_fromdate 为空或者不是对象 |